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/TEMPLATE | |
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/TEMPLATE')
-rw-r--r-- | tests/TEMPLATE/scanner.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/TEMPLATE/scanner.l b/tests/TEMPLATE/scanner.l index ba74adc..c41a778 100644 --- a/tests/TEMPLATE/scanner.l +++ b/tests/TEMPLATE/scanner.l @@ -41,8 +41,10 @@ %% +int main(void); + int -main ( int argc, char** argv ) +main () { yyin = stdin; yyout = stdout; |