summaryrefslogtreecommitdiff
path: root/tests/test-array-r/scanner.l
diff options
context:
space:
mode:
authormillaway <millaway>2002-07-25 00:43:47 +0000
committermillaway <millaway>2002-07-25 00:43:47 +0000
commit2ff84e24ea51e68a7d55496417b9bee7e2389360 (patch)
tree00ff649ece2203792f302085b4771595acae2a4a /tests/test-array-r/scanner.l
parent662248da9a3dbc8de3c04740882baea5dfb15b62 (diff)
downloadflex-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.l4
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;