From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- unix/boot/generic.new/lex.sed | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 unix/boot/generic.new/lex.sed (limited to 'unix/boot/generic.new/lex.sed') diff --git a/unix/boot/generic.new/lex.sed b/unix/boot/generic.new/lex.sed new file mode 100644 index 00000000..56df4751 --- /dev/null +++ b/unix/boot/generic.new/lex.sed @@ -0,0 +1,7 @@ +/int nstr; extern int yyprevious;/a\ +if (yyin==NULL) yyin = stdin;\ +if (yyout==NULL) yyout = stdout; +/{stdin}/c\ +FILE *yyin, *yyout; +s/"stdio.h"// +s/getc/k_getc/ -- cgit