Added naming back
parent
db7087c277
commit
8c85391fb9
|
@ -250,13 +250,13 @@ expression:
|
||||||
$$ = NODE(EXPRESSION, strdup("~"), 1, $2);
|
$$ = NODE(EXPRESSION, strdup("~"), 1, $2);
|
||||||
}
|
}
|
||||||
| '(' expression ')' {
|
| '(' expression ')' {
|
||||||
$$ = NODE(EXPRESSION, NULL /*strdup("group")*/, 1, $2);
|
$$ = NODE(EXPRESSION, /*NULL*/ strdup("group"), 1, $2);
|
||||||
}
|
}
|
||||||
| number {
|
| number {
|
||||||
$$ = NODE(EXPRESSION, NULL /*strdup("number")*/, 1, $1);
|
$$ = NODE(EXPRESSION, /*NULL*/ strdup("number"), 1, $1);
|
||||||
}
|
}
|
||||||
| identifier {
|
| identifier {
|
||||||
$$ = NODE(EXPRESSION, NULL /*strdup("identifier")*/, 1, $1);
|
$$ = NODE(EXPRESSION, /*NULL*/ strdup("identifier"), 1, $1);
|
||||||
}
|
}
|
||||||
| identifier '(' argument_list ')' {
|
| identifier '(' argument_list ')' {
|
||||||
$$ = NODE(EXPRESSION, /*NULL*/ strdup("function_call"), 2, $1, $3);
|
$$ = NODE(EXPRESSION, /*NULL*/ strdup("function_call"), 2, $1, $3);
|
||||||
|
|
Loading…
Reference in New Issue