Index: mttroot/mtt/bin/trans/cse2smx_lang ================================================================== --- mttroot/mtt/bin/trans/cse2smx_lang +++ mttroot/mtt/bin/trans/cse2smx_lang @@ -37,10 +37,17 @@ echo $1 is an unknown option exit;; esac shift done + +## Representation +if [ -z $1 ]; then + echo 'usage [options] cse2smx_lang system [smx|smxa|smxax]' + exit +fi + # Language if [ -n "$3" ]; then lang=$3 else @@ -100,17 +107,18 @@ # Use reduce to accomplish the transformation $SYMBOLIC << EOF >cse2smx_lang.log lang := $lang; -%% Fixes for c and cc (if needed) -$include; - in "$1_subs.r"; in "$1_def.r"; in "$1_cse.r"; in "$1_cr.r"; + +%% Fixes for c and cc (if needed) +$include; + clear mttx; % Dont need this now - use mkid instead OFF Echo;