diff options
author | millaway <millaway> | 2002-07-25 00:43:47 +0000 |
---|---|---|
committer | millaway <millaway> | 2002-07-25 00:43:47 +0000 |
commit | 2ff84e24ea51e68a7d55496417b9bee7e2389360 (patch) | |
tree | 00ff649ece2203792f302085b4771595acae2a4a /tests/test-basic-nr | |
parent | 662248da9a3dbc8de3c04740882baea5dfb15b62 (diff) | |
download | flex-2ff84e24ea51e68a7d55496417b9bee7e2389360.tar.gz |
All prototypes were rewritten to depend upon the macro YY_TRADITIONAL_FUNC_DEFS, which
is defined by default.
The generated scanners build cleanly under gcc's traditional strictness and under C++ compilers.
Diffstat (limited to 'tests/test-basic-nr')
-rw-r--r-- | tests/test-basic-nr/scanner.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-basic-nr/scanner.l b/tests/test-basic-nr/scanner.l index d1a1aa8..25a4fd7 100644 --- a/tests/test-basic-nr/scanner.l +++ b/tests/test-basic-nr/scanner.l @@ -51,7 +51,9 @@ WS [[:blank:]] %% -int main (int argc, char** argv ) +int main(void); + +int main () { yyin = stdin; yyout = stdout; |