diff options
author | Jörg Mayer <jmayer@loplof.de> | 2005-07-22 17:57:40 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2005-07-22 17:57:40 +0000 |
commit | e1c6d9ac3d081221af8b16b56561b7b21ff3de35 (patch) | |
tree | a1c249ceddf759c2b3a4f22a37d0ed612b198e44 /tools | |
parent | 5731769818a12e07edd9599d8cb50e5bcfdd5d8b (diff) |
Fix some warnings (and one of my previous 'fixes')
svn path=/trunk/; revision=14997
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lemon/lemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 6d88e084de..6fe23e429d 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -193,11 +193,11 @@ struct lemon { struct symbol **symbols; /* Sorted array of pointers to symbols */ int errorcnt; /* Number of errors */ struct symbol *errsym; /* The error symbol */ - const char *name; /* Name of the generated parser */ + char *name; /* Name of the generated parser */ char *arg; /* Declaration of the 3th argument to parser */ char *tokentype; /* Type of terminal symbols in the parser stack */ char *start; /* Name of the start symbol for the grammar */ - const char *stacksize; /* Size of the parser stack */ + char *stacksize; /* Size of the parser stack */ char *include; /* Code to put at the start of the C file */ int includeln; /* Line number for start of include code */ char *error; /* Code to execute when an error is seen */ |