diff options
author | Robin Barker <RMBarker@cpan.org> | 2007-12-21 14:30:20 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2007-12-21 14:48:22 +0000 |
commit | aab391487e4ce7ac2d97b35a504de2697fadd1b6 (patch) | |
tree | f5ccfcad7dcc2a485c904f8f35cdd5e09f31ef78 /x2p/a2p.c | |
parent | 3f5211dd25d06319ac363a33485c17282b4021a7 (diff) | |
download | perl-aab391487e4ce7ac2d97b35a504de2697fadd1b6.tar.gz |
C<make translators> -Wwrite-strings clean
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399C@exchsvr2.npl.ad.local>
p4raw-id: //depot/perl@32690
Diffstat (limited to 'x2p/a2p.c')
-rw-r--r-- | x2p/a2p.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1984,7 +1984,7 @@ short yycheck[] = { 41, #endif #define YYMAXTOKEN 306 #if YYDEBUG -char *yyname[] = { +const char *yyname[] = { "end-of-file",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,"'%'",0,0,"'('","')'","'*'","'+'","','","'-'",0,"'/'",0,0,0,0,0,0,0,0,0,0, "':'","';'","'<'",0,"'>'","'?'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, @@ -1999,7 +1999,7 @@ char *yyname[] = { "DELETE","ASGNOP","OROR","ANDAND","NUMBER","VAR","SUBSTR","INDEX","MATCHOP", "RELOP","OR","STRING","UMINUS","NOT","INCR","DECR","FIELD","VFIELD","SVFIELD", }; -char *yyrule[] = { +const char *yyrule[] = { "$accept : program", "program : junk hunks", "begin : BEGIN '{' maybe states '}' junk", @@ -2193,7 +2193,7 @@ yyparse(void) { register int yym, yyn, yystate; #if YYDEBUG - register char *yys; + register const char *yys; if ((yys = getenv("YYDEBUG"))) { |