diff options
| author | wkj <devnull@localhost> | 2004-05-16 07:59:27 +0000 |
|---|---|---|
| committer | wkj <devnull@localhost> | 2004-05-16 07:59:27 +0000 |
| commit | eb43e9ba97471912f3338750198951ca4f5eec82 (patch) | |
| tree | e6a6cf4182ae7e7c31cd67fc5c22e91f27d2dad5 /src/cmd/lex/ncform | |
| parent | a87f4771c76a15ef4dd422b1eb83fc9e1ffde036 (diff) | |
| download | plan9port-eb43e9ba97471912f3338750198951ca4f5eec82.tar.gz plan9port-eb43e9ba97471912f3338750198951ca4f5eec82.zip | |
Make lex more pedant friendly.
Diffstat (limited to 'src/cmd/lex/ncform')
| -rw-r--r-- | src/cmd/lex/ncform | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
