aboutsummaryrefslogtreecommitdiff
path: root/lib/forlangrm.y
diff options
context:
space:
mode:
Diffstat (limited to 'lib/forlangrm.y')
-rw-r--r--lib/forlangrm.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/forlangrm.y b/lib/forlangrm.y
index 2db1274..9d44ec9 100644
--- a/lib/forlangrm.y
+++ b/lib/forlangrm.y
@@ -20,13 +20,13 @@
#include <grecs/locus.h>
#include "forlangrm.h"
#include "forlan.h"
#include <string.h>
int yylex();
-static int yyerror(char *);
+static int yyerror(char const *);
union forlan_node *forlan_parse_tree;
size_t forlan_variable_count;
static struct grecs_symtab *forlan_symtab;
static size_t find_variable(const char *name);
static union forlan_node *create_comp_node(union forlan_node *root,
@@ -368,13 +368,13 @@ stmt_asgn : IDENT '=' node ';'
$$->asgn.idx = find_variable($1);
$$->asgn.node = $3;
}
;
%%
static int
-yyerror(char *s)
+yyerror(char const *s)
{
grecs_error(&yylloc, 0, "%s", s);
return 0;
}
int

Return to:

Send suggestions and report system problems to the System administrator.