Skip to content

Commit

Permalink
fix(gsc): file expr paths (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
xensik authored Oct 24, 2023
1 parent 834e402 commit 9e2dcf8
Show file tree
Hide file tree
Showing 6 changed files with 1,426 additions and 1,456 deletions.
4 changes: 1 addition & 3 deletions gen/arc/parser.ypp
Original file line number Diff line number Diff line change
Expand Up @@ -1005,9 +1005,7 @@ expr_identifier
;

expr_path
: PATH DIV IDENTIFIER
{ $$ = expr_path::make(@$, $1 + "/" + $3); };
| IDENTIFIER
: IDENTIFIER
{ $$ = expr_path::make(@$, $1); };
| PATH
{ $$ = expr_path::make(@$, $1); };
Expand Down
4 changes: 1 addition & 3 deletions gen/gsc/parser.ypp
Original file line number Diff line number Diff line change
Expand Up @@ -930,9 +930,7 @@ expr_identifier
;

expr_path
: PATH DIV IDENTIFIER
{ $$ = expr_path::make(@$, $1 + "/" + $3); };
| IDENTIFIER
: IDENTIFIER
{ $$ = expr_path::make(@$, $1); };
| PATH
{ $$ = expr_path::make(@$, $1); };
Expand Down
2 changes: 1 addition & 1 deletion include/xsk/arc/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5439,7 +5439,7 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 3327, ///< Last index in yytable_.
yylast_ = 3330, ///< Last index in yytable_.
yynnts_ = 101, ///< Number of nonterminal symbols.
yyfinal_ = 28 ///< Termination state number.
};
Expand Down
2 changes: 1 addition & 1 deletion include/xsk/gsc/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4981,7 +4981,7 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2420, ///< Last index in yytable_.
yylast_ = 2377, ///< Last index in yytable_.
yynnts_ = 92, ///< Number of nonterminal symbols.
yyfinal_ = 23 ///< Termination state number.
};
Expand Down
Loading

0 comments on commit 9e2dcf8

Please sign in to comment.