From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- pkg/cl/lex.com | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg/cl/lex.com (limited to 'pkg/cl/lex.com') diff --git a/pkg/cl/lex.com b/pkg/cl/lex.com new file mode 100644 index 00000000..32c198cd --- /dev/null +++ b/pkg/cl/lex.com @@ -0,0 +1,12 @@ +$! Fix the lexyy.c file (see lex.sed) [VMS] +$! +$ open/write fp lex_fix.com +$ write fp "$ edit/edt/nocommand lexyy.c" +$ write fp "sub/getc(yyin)/yy_getc(yyin)/w" +$ write fp "sub/yylex/lex_yylex/w" +$ write fp "sub/YYLMAX 200/YYLMAX 2048/w" +$ write fp "exit" +$ write fp "$ exit" +$ close fp +$ @lex_fix.com +$ delete lex_fix.com;* -- cgit