diff options
author | Nick Clifton <nickc@redhat.com> | 2005-02-15 14:36:19 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-02-15 14:36:19 +0000 |
commit | 297ba36772d48bb4ced2b9d4852388378d2568e7 (patch) | |
tree | d5f45c5bd97a018beb5eb52c3bf739587498eb82 /ld/ldlex.l | |
parent | b5e6aa6331a60ca1f9fdcc68bc3d163fbd1751f1 (diff) | |
download | gdb-297ba36772d48bb4ced2b9d4852388378d2568e7.zip gdb-297ba36772d48bb4ced2b9d4852388378d2568e7.tar.gz gdb-297ba36772d48bb4ced2b9d4852388378d2568e7.tar.bz2 |
(YY_NO_UNPUT): Define so that the yy_unput function is not declared. It is not
used and its presence causes a compile time warning.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r-- | ld/ldlex.l | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -65,6 +65,8 @@ const char *lex_string = NULL; #undef YY_INPUT #define YY_INPUT(buf,result,max_size) yy_input (buf, &result, max_size) +#define YY_NO_UNPUT + #define MAX_INCLUDE_DEPTH 10 static YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; static const char *file_name_stack[MAX_INCLUDE_DEPTH]; |