From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- unix/boot/generic/lex.sed | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 unix/boot/generic/lex.sed (limited to 'unix/boot/generic/lex.sed') diff --git a/unix/boot/generic/lex.sed b/unix/boot/generic/lex.sed new file mode 100644 index 00000000..56df4751 --- /dev/null +++ b/unix/boot/generic/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