Bugfix include.mes: skip commented modules.
[mes.git] / scripts / mescc.mes
index 254348f017658f1d0e231b912eb2a4ef6bc38d8c..dd21d5d0b5deb3478e0dfb918b667cb63220fbcc 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # -*-scheme-*-
-cat ${1-$(dirname $(dirname $0))/share/doc/mes/examples/main.c} | cat $($(dirname $0)/include.mes $0) $0 /dev/stdin | $(dirname $0)/mes > a.out
+cat ${1-$(dirname $(dirname $0))/share/doc/mes/examples/main.c} | cat $($(dirname $0)/include.mes $0) $0 /dev/stdin | $(dirname $0)/mes "$@" > a.out
 chmod +x a.out
 exit $?
 !#