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.6 1998/07/27 20:30:39 peterg +## Mods for dm rep - no globals ... +## ## Revision 1.5 1998/07/25 20:42:30 peterg ## No assignements for switch either ## ## Revision 1.4 1998/07/25 10:43:10 peterg ## No assignments of x or u if sm rep. @@ -34,10 +37,11 @@ output=$5 extras=$6 case $language in m) + modeline='% -*-octave-*- Put Emacs into octave-mode'; ext='m'; Lc='#'; Rc='#'; Lb='('; Rb=')'; @@ -57,10 +61,13 @@ Rb=']'; ;; *) echo Language $language not supported - sorry; exit 1 esac + +# Appropriate emacs mode line +echo $modeline ######### Octave (matlab) code if [ "$language" = m ]; then cat <