fix(gsc): file expr paths (#156)

This commit is contained in:
Xenxo Espasandín 2023-10-24 22:14:44 +02:00 committed by GitHub
parent 4262836191
commit 7dafeb2ba7
6 changed files with 1439 additions and 1469 deletions

View File

@ -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); };

View File

@ -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); };

View File

@ -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.
}; };

View File

@ -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.
}; };

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff