fix(gsc): file expr paths (#156)
This commit is contained in:
parent
834e4023f5
commit
9e2dcf8d36
@ -1005,9 +1005,7 @@ expr_identifier
|
|||||||
;
|
;
|
||||||
|
|
||||||
expr_path
|
expr_path
|
||||||
: PATH DIV IDENTIFIER
|
: IDENTIFIER
|
||||||
{ $$ = expr_path::make(@$, $1 + "/" + $3); };
|
|
||||||
| IDENTIFIER
|
|
||||||
{ $$ = expr_path::make(@$, $1); };
|
{ $$ = expr_path::make(@$, $1); };
|
||||||
| PATH
|
| PATH
|
||||||
{ $$ = expr_path::make(@$, $1); };
|
{ $$ = expr_path::make(@$, $1); };
|
||||||
|
@ -930,9 +930,7 @@ expr_identifier
|
|||||||
;
|
;
|
||||||
|
|
||||||
expr_path
|
expr_path
|
||||||
: PATH DIV IDENTIFIER
|
: IDENTIFIER
|
||||||
{ $$ = expr_path::make(@$, $1 + "/" + $3); };
|
|
||||||
| IDENTIFIER
|
|
||||||
{ $$ = expr_path::make(@$, $1); };
|
{ $$ = expr_path::make(@$, $1); };
|
||||||
| PATH
|
| PATH
|
||||||
{ $$ = expr_path::make(@$, $1); };
|
{ $$ = expr_path::make(@$, $1); };
|
||||||
|
@ -5439,7 +5439,7 @@ switch (yykind)
|
|||||||
/// Constants.
|
/// Constants.
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
yylast_ = 3327, ///< Last index in yytable_.
|
yylast_ = 3330, ///< Last index in yytable_.
|
||||||
yynnts_ = 101, ///< Number of nonterminal symbols.
|
yynnts_ = 101, ///< Number of nonterminal symbols.
|
||||||
yyfinal_ = 28 ///< Termination state number.
|
yyfinal_ = 28 ///< Termination state number.
|
||||||
};
|
};
|
||||||
|
@ -4981,7 +4981,7 @@ switch (yykind)
|
|||||||
/// Constants.
|
/// Constants.
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
yylast_ = 2420, ///< Last index in yytable_.
|
yylast_ = 2377, ///< Last index in yytable_.
|
||||||
yynnts_ = 92, ///< Number of nonterminal symbols.
|
yynnts_ = 92, ///< Number of nonterminal symbols.
|
||||||
yyfinal_ = 23 ///< Termination state number.
|
yyfinal_ = 23 ///< Termination state number.
|
||||||
};
|
};
|
||||||
|
1591
src/arc/parser.cpp
1591
src/arc/parser.cpp
File diff suppressed because it is too large
Load Diff
1305
src/gsc/parser.cpp
1305
src/gsc/parser.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user