mes.c: when reading `EOF', defer read control to program.
[mes.git] / GNUmakefile
index 1db5cf968586e54f75cbed3371852ce91592f85b..d151941cd61bcfdc4a0e307498c50911995567f6 100644 (file)
@@ -84,8 +84,7 @@ record: all
 
 
 paren: all
-       cat scm.mes syntax.mes lib/srfi/srfi-0.scm lib/record.mes lib/record.scm lib/srfi/srfi-9.scm lib/lalr.mes lib/lalr.scm paren.scm | ./mes
-#      #echo '___P((()))'
+       echo -e 'EOF\n___P((()))' | cat scm.mes syntax.mes lib/srfi/srfi-0.scm lib/record.mes lib/record.scm lib/srfi/srfi-9.scm lib/lalr.mes lib/lalr.scm paren.scm - | ./mes
 
 paren.test: lib/lalr.scm paren.scm
        cat $^ > $@