From eb43e9ba97471912f3338750198951ca4f5eec82 Mon Sep 17 00:00:00 2001 From: wkj Date: Sun, 16 May 2004 07:59:27 +0000 Subject: Make lex more pedant friendly. --- src/cmd/lex/ncform | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd/lex/ncform') diff --git a/src/cmd/lex/ncform b/src/cmd/lex/ncform index dd7a1ea6..6571735b 100644 --- a/src/cmd/lex/ncform +++ b/src/cmd/lex/ncform @@ -11,6 +11,7 @@ int yyprevious = YYNEWLINE; # ifdef LEXDEBUG extern void allprint(char); # endif +int yylook(void){ struct yysvf *yystate, **lsp; struct yywork *yyt; @@ -158,6 +159,7 @@ yylook(void){ } return(0); /* shut up the compiler; i have no idea what should be returned */ } +int yyback(int *p, int m) { if (p==0) return(0); @@ -169,6 +171,7 @@ while (*p) return(0); } /* the following are only used in the lex library */ +int yyinput(void){ if(yyin == ((void*)0)) yyin = stdin; -- cgit v1.2.3