feat(gsc): string literal sizeof (#150)

This commit is contained in:
Xenxo Espasandín 2023-09-24 14:36:27 +02:00 committed by GitHub
parent 4721acaa4c
commit 32e168cd1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1481 additions and 1453 deletions

View File

@ -931,6 +931,8 @@ expr_field
expr_size
: expr_object DOT SIZE %prec SIZEOF
{ $$ = expr_size::make(@$, std::move($1)); }
| expr_string DOT SIZE %prec SIZEOF
{ $$ = expr_size::make(@$, std::move($1)); }
;
expr_paren

View File

@ -851,6 +851,8 @@ expr_field
expr_size
: expr_object DOT SIZE %prec SIZEOF
{ $$ = expr_size::make(@$, std::move($1)); }
| expr_string DOT SIZE %prec SIZEOF
{ $$ = expr_size::make(@$, std::move($1)); }
;
expr_paren

View File

@ -5439,7 +5439,7 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 3314, ///< Last index in yytable_.
yylast_ = 3327, ///< Last index in yytable_.
yynnts_ = 101, ///< Number of nonterminal symbols.
yyfinal_ = 28 ///< Termination state number.
};

View File

@ -4981,7 +4981,7 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2406, ///< Last index in yytable_.
yylast_ = 2420, ///< Last index in yytable_.
yynnts_ = 92, ///< Number of nonterminal symbols.
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