Index: mttroot/mtt/bin/trans/lang_header ================================================================== --- mttroot/mtt/bin/trans/lang_header +++ mttroot/mtt/bin/trans/lang_header @@ -6,10 +6,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.9 2000/04/08 10:23:38 peterg +## Added -noglobal option +## ## Revision 1.8 1999/02/16 04:14:53 peterg ## Small change to modeline generation ## ## Revision 1.7 1999/01/20 22:19:21 peterg ## Puts emacs mode line at top of .m files @@ -38,10 +41,13 @@ while [ -n "`echo $1 | grep '^-'`" ]; do case $1 in -noglobal) noglobal=noglobal; ;; + -parameters) + parameters=parameters; + ;; *) echo $1 is an unknown option exit;; esac shift @@ -62,10 +68,18 @@ Lc='#'; Rc='#'; Lb='('; Rb=')'; ;; + p) + modeline='% -*-octave-*- Put Emacs into octave-mode%'; + ext='m'; + Lc='#'; + Rc='#'; + Lb='['; + Rb=']'; + ;; c) ext='c'; Lc='/*'; Rc='*/'; Lb='['; @@ -80,14 +94,10 @@ ;; *) echo Language $language not supported - sorry; exit 1 esac -# Appropriate emacs mode line -cat <