aboutsummaryrefslogtreecommitdiff
path: root/src/meta1-gram.y
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2014-08-25 19:24:56 +0300
committerSergey Poznyakoff <gray@gnu.org>2014-08-25 19:24:56 +0300
commit47c39d1874abf853464d59b3a18e40015e952f39 (patch)
tree31dda1ca9fc3983a2d988f6b1a40cb1a1ccc1e32 /src/meta1-gram.y
parent477701c059d73e47aa1bac97e96d801542f2bd8f (diff)
downloadgrecs-47c39d1874abf853464d59b3a18e40015e952f39.tar.gz
grecs-47c39d1874abf853464d59b3a18e40015e952f39.tar.bz2
Minor fix
* src/bind-gram.y (yyerror): arg is char const. * src/dhcpd-gram.y: Likewise. * src/grecs-gram.y: Likewise. * src/meta1-gram.y: Likewise.
Diffstat (limited to 'src/meta1-gram.y')
-rw-r--r--src/meta1-gram.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/meta1-gram.y b/src/meta1-gram.y
index d39e46c..d9d94d6 100644
--- a/src/meta1-gram.y
+++ b/src/meta1-gram.y
@@ -21,13 +21,13 @@
#include <errno.h>
#include <string.h>
#include "grecs.h"
#include "grecs-locus.h"
int yylex(void);
-int yyerror(char *s);
+int yyerror(char const *s);
static struct grecs_node *parse_tree;
extern int yy_flex_debug;
extern void yyset_in(FILE *);
%}
@@ -188,13 +188,13 @@ values : value
opt_sc : /* empty */
| ';'
;
%%
int
-yyerror(char *s)
+yyerror(char const *s)
{
grecs_error(&yylloc, 0, "%s", s);
return 0;
}
struct grecs_node *

Return to:

Send suggestions and report system problems to the System administrator.