SCI: Made said_parse_spec static, regenerated said.cpp from said.y
svn-id: r39870
This commit is contained in:
parent
f5fb20680f
commit
52c5b7547c
2 changed files with 15 additions and 5 deletions
|
@ -811,6 +811,11 @@ yy_symbol_value_print (yyoutput, yytype, yyvaluep)
|
||||||
# else
|
# else
|
||||||
YYUSE (yyoutput);
|
YYUSE (yyoutput);
|
||||||
# endif
|
# endif
|
||||||
|
switch (yytype)
|
||||||
|
{
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1167,6 +1172,13 @@ yydestruct (yymsg, yytype, yyvaluep)
|
||||||
if (!yymsg)
|
if (!yymsg)
|
||||||
yymsg = "Deleting";
|
yymsg = "Deleting";
|
||||||
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
|
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
|
||||||
|
|
||||||
|
switch (yytype)
|
||||||
|
{
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1937,8 +1949,6 @@ static tree_t said_terminal(int val) {
|
||||||
static tree_t said_aug_branch(int n1, int n2, tree_t t1, tree_t t2) {
|
static tree_t said_aug_branch(int n1, int n2, tree_t t1, tree_t t2) {
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
// FIXME: The following code is ambiguous and *not* safely portable,
|
|
||||||
// due to the way the SAID_NEXT_NODE macro is implemented
|
|
||||||
retval = said_branch_node(SAID_NEXT_NODE,
|
retval = said_branch_node(SAID_NEXT_NODE,
|
||||||
said_branch_node(SAID_NEXT_NODE,
|
said_branch_node(SAID_NEXT_NODE,
|
||||||
said_leaf_node(SAID_NEXT_NODE, n1),
|
said_leaf_node(SAID_NEXT_NODE, n1),
|
||||||
|
@ -1987,7 +1997,7 @@ static said_spec_t said_top_branch(tree_t first) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int said_parse_spec(EngineState *s, byte *spec) {
|
static int said_parse_spec(EngineState *s, byte *spec) {
|
||||||
int nextitem;
|
int nextitem;
|
||||||
|
|
||||||
said_parse_error = NULL;
|
said_parse_error = NULL;
|
||||||
|
|
|
@ -353,7 +353,7 @@ static said_spec_t said_top_branch(tree_t first) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int said_parse_spec(EngineState *s, byte *spec) {
|
static int said_parse_spec(EngineState *s, byte *spec) {
|
||||||
int nextitem;
|
int nextitem;
|
||||||
|
|
||||||
said_parse_error = NULL;
|
said_parse_error = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue