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-array-r/scanner.l | |
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-array-r/scanner.l')
-rw-r--r-- | tests/test-array-r/scanner.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-array-r/scanner.l b/tests/test-array-r/scanner.l index 298cfe5..2d4c1b1 100644 --- a/tests/test-array-r/scanner.l +++ b/tests/test-array-r/scanner.l @@ -42,8 +42,10 @@ %% +int main(void); + int -main ( int argc, char** argv ) +main () { yyscan_t lexer; |