[IW] added negative variable expression

This commit is contained in:
xensik 2022-06-08 12:05:16 +02:00
parent 8b8fffd59e
commit 9910527d60
27 changed files with 10393 additions and 10081 deletions

View File

@ -214,6 +214,7 @@ xsk::gsc::h1::parser::symbol_type H1lex(xsk::gsc::h1::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -629,6 +630,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -796,6 +798,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

View File

@ -214,6 +214,7 @@ xsk::gsc::h2::parser::symbol_type H2lex(xsk::gsc::h2::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -629,6 +630,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -796,6 +798,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

View File

@ -212,6 +212,7 @@ xsk::gsc::iw5::parser::symbol_type IW5lex(xsk::gsc::iw5::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -619,6 +620,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -786,6 +788,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

View File

@ -212,6 +212,7 @@ xsk::gsc::iw6::parser::symbol_type IW6lex(xsk::gsc::iw6::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -619,6 +620,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -786,6 +788,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

View File

@ -212,6 +212,7 @@ xsk::gsc::iw7::parser::symbol_type IW7lex(xsk::gsc::iw7::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -619,6 +620,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -786,6 +788,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

View File

@ -218,6 +218,7 @@ xsk::gsc::iw8::parser::symbol_type IW8lex(xsk::gsc::iw8::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -635,6 +636,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -812,6 +814,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

View File

@ -214,6 +214,7 @@ xsk::gsc::s1::parser::symbol_type S1lex(xsk::gsc::s1::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -629,6 +630,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -796,6 +798,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

View File

@ -214,6 +214,7 @@ xsk::gsc::s2::parser::symbol_type S2lex(xsk::gsc::s2::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -629,6 +630,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -796,6 +798,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

View File

@ -218,6 +218,7 @@ xsk::gsc::s4::parser::symbol_type S4lex(xsk::gsc::s4::lexer& lexer);
%type <ast::expr_level::ptr> expr_level
%type <ast::expr_animation::ptr> expr_animation
%type <ast::expr_animtree::ptr> expr_animtree
%type <ast::expr> expr_identifier_neg
%type <ast::expr_identifier::ptr> expr_identifier_nosize
%type <ast::expr_identifier::ptr> expr_identifier
%type <ast::expr_path::ptr> expr_path
@ -635,6 +636,7 @@ expr_primitive
| expr_level { $$.as_node = std::move($1); }
| expr_animation { $$.as_node = std::move($1); }
| expr_animtree { $$.as_node = std::move($1); }
| expr_identifier_neg { $$ = std::move($1); }
| expr_identifier { $$.as_node = std::move($1); }
| expr_istring { $$.as_node = std::move($1); }
| expr_string { $$.as_node = std::move($1); }
@ -812,6 +814,11 @@ expr_animtree
{ $$ = std::make_unique<ast::expr_animtree>(@$); };
;
expr_identifier_neg
: SUB IDENTIFIER
{ $$.as_node = std::make_unique<ast::expr_sub>(@$, ast::expr(std::make_unique<ast::expr_integer>(@$, "0")), ast::expr(std::make_unique<ast::expr_identifier>(@$, $2))); }
;
expr_identifier_nosize
: IDENTIFIER
{ $$ = std::make_unique<ast::expr_identifier>(@$, $1); };

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace h1 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1007,16 +1008,17 @@ namespace xsk { namespace gsc { namespace h1 {
S_expr_level = 183, // expr_level
S_expr_animation = 184, // expr_animation
S_expr_animtree = 185, // expr_animtree
S_expr_identifier_nosize = 186, // expr_identifier_nosize
S_expr_identifier = 187, // expr_identifier
S_expr_path = 188, // expr_path
S_expr_istring = 189, // expr_istring
S_expr_string = 190, // expr_string
S_expr_vector = 191, // expr_vector
S_expr_float = 192, // expr_float
S_expr_integer = 193, // expr_integer
S_expr_false = 194, // expr_false
S_expr_true = 195 // expr_true
S_expr_identifier_neg = 186, // expr_identifier_neg
S_expr_identifier_nosize = 187, // expr_identifier_nosize
S_expr_identifier = 188, // expr_identifier
S_expr_path = 189, // expr_path
S_expr_istring = 190, // expr_istring
S_expr_string = 191, // expr_string
S_expr_vector = 192, // expr_vector
S_expr_float = 193, // expr_float
S_expr_integer = 194, // expr_integer
S_expr_false = 195, // expr_false
S_expr_true = 196 // expr_true
};
};
@ -1083,6 +1085,7 @@ namespace xsk { namespace gsc { namespace h1 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2355,6 +2358,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4813,8 +4817,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2251, ///< Last index in yytable_.
yynnts_ = 83, ///< Number of nonterminal symbols.
yylast_ = 2310, ///< Last index in yytable_.
yynnts_ = 84, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4871,6 +4875,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5189,6 +5194,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5513,7 +5519,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::h1
#line 5517 "parser.hpp"
#line 5523 "parser.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace h2 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1007,16 +1008,17 @@ namespace xsk { namespace gsc { namespace h2 {
S_expr_level = 183, // expr_level
S_expr_animation = 184, // expr_animation
S_expr_animtree = 185, // expr_animtree
S_expr_identifier_nosize = 186, // expr_identifier_nosize
S_expr_identifier = 187, // expr_identifier
S_expr_path = 188, // expr_path
S_expr_istring = 189, // expr_istring
S_expr_string = 190, // expr_string
S_expr_vector = 191, // expr_vector
S_expr_float = 192, // expr_float
S_expr_integer = 193, // expr_integer
S_expr_false = 194, // expr_false
S_expr_true = 195 // expr_true
S_expr_identifier_neg = 186, // expr_identifier_neg
S_expr_identifier_nosize = 187, // expr_identifier_nosize
S_expr_identifier = 188, // expr_identifier
S_expr_path = 189, // expr_path
S_expr_istring = 190, // expr_istring
S_expr_string = 191, // expr_string
S_expr_vector = 192, // expr_vector
S_expr_float = 193, // expr_float
S_expr_integer = 194, // expr_integer
S_expr_false = 195, // expr_false
S_expr_true = 196 // expr_true
};
};
@ -1083,6 +1085,7 @@ namespace xsk { namespace gsc { namespace h2 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2355,6 +2358,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4813,8 +4817,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2251, ///< Last index in yytable_.
yynnts_ = 83, ///< Number of nonterminal symbols.
yylast_ = 2310, ///< Last index in yytable_.
yynnts_ = 84, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4871,6 +4875,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5189,6 +5194,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5513,7 +5519,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::h2
#line 5517 "parser.hpp"
#line 5523 "parser.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace iw5 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1001,16 +1002,17 @@ namespace xsk { namespace gsc { namespace iw5 {
S_expr_level = 181, // expr_level
S_expr_animation = 182, // expr_animation
S_expr_animtree = 183, // expr_animtree
S_expr_identifier_nosize = 184, // expr_identifier_nosize
S_expr_identifier = 185, // expr_identifier
S_expr_path = 186, // expr_path
S_expr_istring = 187, // expr_istring
S_expr_string = 188, // expr_string
S_expr_vector = 189, // expr_vector
S_expr_float = 190, // expr_float
S_expr_integer = 191, // expr_integer
S_expr_false = 192, // expr_false
S_expr_true = 193 // expr_true
S_expr_identifier_neg = 184, // expr_identifier_neg
S_expr_identifier_nosize = 185, // expr_identifier_nosize
S_expr_identifier = 186, // expr_identifier
S_expr_path = 187, // expr_path
S_expr_istring = 188, // expr_istring
S_expr_string = 189, // expr_string
S_expr_vector = 190, // expr_vector
S_expr_float = 191, // expr_float
S_expr_integer = 192, // expr_integer
S_expr_false = 193, // expr_false
S_expr_true = 194 // expr_true
};
};
@ -1077,6 +1079,7 @@ namespace xsk { namespace gsc { namespace iw5 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2331,6 +2334,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4770,8 +4774,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2303, ///< Last index in yytable_.
yynnts_ = 82, ///< Number of nonterminal symbols.
yylast_ = 2239, ///< Last index in yytable_.
yynnts_ = 83, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4828,6 +4832,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5142,6 +5147,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5462,7 +5468,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::iw5
#line 5466 "parser.hpp"
#line 5472 "parser.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace iw6 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1001,16 +1002,17 @@ namespace xsk { namespace gsc { namespace iw6 {
S_expr_level = 181, // expr_level
S_expr_animation = 182, // expr_animation
S_expr_animtree = 183, // expr_animtree
S_expr_identifier_nosize = 184, // expr_identifier_nosize
S_expr_identifier = 185, // expr_identifier
S_expr_path = 186, // expr_path
S_expr_istring = 187, // expr_istring
S_expr_string = 188, // expr_string
S_expr_vector = 189, // expr_vector
S_expr_float = 190, // expr_float
S_expr_integer = 191, // expr_integer
S_expr_false = 192, // expr_false
S_expr_true = 193 // expr_true
S_expr_identifier_neg = 184, // expr_identifier_neg
S_expr_identifier_nosize = 185, // expr_identifier_nosize
S_expr_identifier = 186, // expr_identifier
S_expr_path = 187, // expr_path
S_expr_istring = 188, // expr_istring
S_expr_string = 189, // expr_string
S_expr_vector = 190, // expr_vector
S_expr_float = 191, // expr_float
S_expr_integer = 192, // expr_integer
S_expr_false = 193, // expr_false
S_expr_true = 194 // expr_true
};
};
@ -1077,6 +1079,7 @@ namespace xsk { namespace gsc { namespace iw6 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2331,6 +2334,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4770,8 +4774,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2303, ///< Last index in yytable_.
yynnts_ = 82, ///< Number of nonterminal symbols.
yylast_ = 2239, ///< Last index in yytable_.
yynnts_ = 83, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4828,6 +4832,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5142,6 +5147,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5462,7 +5468,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::iw6
#line 5466 "parser.hpp"
#line 5472 "parser.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace iw7 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1001,16 +1002,17 @@ namespace xsk { namespace gsc { namespace iw7 {
S_expr_level = 181, // expr_level
S_expr_animation = 182, // expr_animation
S_expr_animtree = 183, // expr_animtree
S_expr_identifier_nosize = 184, // expr_identifier_nosize
S_expr_identifier = 185, // expr_identifier
S_expr_path = 186, // expr_path
S_expr_istring = 187, // expr_istring
S_expr_string = 188, // expr_string
S_expr_vector = 189, // expr_vector
S_expr_float = 190, // expr_float
S_expr_integer = 191, // expr_integer
S_expr_false = 192, // expr_false
S_expr_true = 193 // expr_true
S_expr_identifier_neg = 184, // expr_identifier_neg
S_expr_identifier_nosize = 185, // expr_identifier_nosize
S_expr_identifier = 186, // expr_identifier
S_expr_path = 187, // expr_path
S_expr_istring = 188, // expr_istring
S_expr_string = 189, // expr_string
S_expr_vector = 190, // expr_vector
S_expr_float = 191, // expr_float
S_expr_integer = 192, // expr_integer
S_expr_false = 193, // expr_false
S_expr_true = 194 // expr_true
};
};
@ -1077,6 +1079,7 @@ namespace xsk { namespace gsc { namespace iw7 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2331,6 +2334,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4770,8 +4774,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2303, ///< Last index in yytable_.
yynnts_ = 82, ///< Number of nonterminal symbols.
yylast_ = 2239, ///< Last index in yytable_.
yynnts_ = 83, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4828,6 +4832,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5142,6 +5147,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5462,7 +5468,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::iw7
#line 5466 "parser.hpp"
#line 5472 "parser.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace iw8 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1019,16 +1020,17 @@ namespace xsk { namespace gsc { namespace iw8 {
S_expr_level = 187, // expr_level
S_expr_animation = 188, // expr_animation
S_expr_animtree = 189, // expr_animtree
S_expr_identifier_nosize = 190, // expr_identifier_nosize
S_expr_identifier = 191, // expr_identifier
S_expr_path = 192, // expr_path
S_expr_istring = 193, // expr_istring
S_expr_string = 194, // expr_string
S_expr_vector = 195, // expr_vector
S_expr_float = 196, // expr_float
S_expr_integer = 197, // expr_integer
S_expr_false = 198, // expr_false
S_expr_true = 199 // expr_true
S_expr_identifier_neg = 190, // expr_identifier_neg
S_expr_identifier_nosize = 191, // expr_identifier_nosize
S_expr_identifier = 192, // expr_identifier
S_expr_path = 193, // expr_path
S_expr_istring = 194, // expr_istring
S_expr_string = 195, // expr_string
S_expr_vector = 196, // expr_vector
S_expr_float = 197, // expr_float
S_expr_integer = 198, // expr_integer
S_expr_false = 199, // expr_false
S_expr_true = 200 // expr_true
};
};
@ -1095,6 +1097,7 @@ namespace xsk { namespace gsc { namespace iw8 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2403,6 +2406,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4899,8 +4903,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2278, ///< Last index in yytable_.
yynnts_ = 85, ///< Number of nonterminal symbols.
yylast_ = 2360, ///< Last index in yytable_.
yynnts_ = 86, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4957,6 +4961,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5283,6 +5288,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5615,7 +5621,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::iw8
#line 5619 "parser.hpp"
#line 5625 "parser.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace s1 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1007,16 +1008,17 @@ namespace xsk { namespace gsc { namespace s1 {
S_expr_level = 183, // expr_level
S_expr_animation = 184, // expr_animation
S_expr_animtree = 185, // expr_animtree
S_expr_identifier_nosize = 186, // expr_identifier_nosize
S_expr_identifier = 187, // expr_identifier
S_expr_path = 188, // expr_path
S_expr_istring = 189, // expr_istring
S_expr_string = 190, // expr_string
S_expr_vector = 191, // expr_vector
S_expr_float = 192, // expr_float
S_expr_integer = 193, // expr_integer
S_expr_false = 194, // expr_false
S_expr_true = 195 // expr_true
S_expr_identifier_neg = 186, // expr_identifier_neg
S_expr_identifier_nosize = 187, // expr_identifier_nosize
S_expr_identifier = 188, // expr_identifier
S_expr_path = 189, // expr_path
S_expr_istring = 190, // expr_istring
S_expr_string = 191, // expr_string
S_expr_vector = 192, // expr_vector
S_expr_float = 193, // expr_float
S_expr_integer = 194, // expr_integer
S_expr_false = 195, // expr_false
S_expr_true = 196 // expr_true
};
};
@ -1083,6 +1085,7 @@ namespace xsk { namespace gsc { namespace s1 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2355,6 +2358,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4813,8 +4817,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2251, ///< Last index in yytable_.
yynnts_ = 83, ///< Number of nonterminal symbols.
yylast_ = 2310, ///< Last index in yytable_.
yynnts_ = 84, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4871,6 +4875,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5189,6 +5194,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5513,7 +5519,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::s1
#line 5517 "parser.hpp"
#line 5523 "parser.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace s2 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1007,16 +1008,17 @@ namespace xsk { namespace gsc { namespace s2 {
S_expr_level = 183, // expr_level
S_expr_animation = 184, // expr_animation
S_expr_animtree = 185, // expr_animtree
S_expr_identifier_nosize = 186, // expr_identifier_nosize
S_expr_identifier = 187, // expr_identifier
S_expr_path = 188, // expr_path
S_expr_istring = 189, // expr_istring
S_expr_string = 190, // expr_string
S_expr_vector = 191, // expr_vector
S_expr_float = 192, // expr_float
S_expr_integer = 193, // expr_integer
S_expr_false = 194, // expr_false
S_expr_true = 195 // expr_true
S_expr_identifier_neg = 186, // expr_identifier_neg
S_expr_identifier_nosize = 187, // expr_identifier_nosize
S_expr_identifier = 188, // expr_identifier
S_expr_path = 189, // expr_path
S_expr_istring = 190, // expr_istring
S_expr_string = 191, // expr_string
S_expr_vector = 192, // expr_vector
S_expr_float = 193, // expr_float
S_expr_integer = 194, // expr_integer
S_expr_false = 195, // expr_false
S_expr_true = 196 // expr_true
};
};
@ -1083,6 +1085,7 @@ namespace xsk { namespace gsc { namespace s2 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2355,6 +2358,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4813,8 +4817,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2251, ///< Last index in yytable_.
yynnts_ = 83, ///< Number of nonterminal symbols.
yylast_ = 2310, ///< Last index in yytable_.
yynnts_ = 84, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4871,6 +4875,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5189,6 +5194,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5513,7 +5519,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::s2
#line 5517 "parser.hpp"
#line 5523 "parser.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -447,6 +447,7 @@ namespace xsk { namespace gsc { namespace s4 {
// expr_binary
// expr_primitive
// expr_object
// expr_identifier_neg
char dummy6[sizeof (ast::expr)];
// expr_add_array
@ -1019,16 +1020,17 @@ namespace xsk { namespace gsc { namespace s4 {
S_expr_level = 187, // expr_level
S_expr_animation = 188, // expr_animation
S_expr_animtree = 189, // expr_animtree
S_expr_identifier_nosize = 190, // expr_identifier_nosize
S_expr_identifier = 191, // expr_identifier
S_expr_path = 192, // expr_path
S_expr_istring = 193, // expr_istring
S_expr_string = 194, // expr_string
S_expr_vector = 195, // expr_vector
S_expr_float = 196, // expr_float
S_expr_integer = 197, // expr_integer
S_expr_false = 198, // expr_false
S_expr_true = 199 // expr_true
S_expr_identifier_neg = 190, // expr_identifier_neg
S_expr_identifier_nosize = 191, // expr_identifier_nosize
S_expr_identifier = 192, // expr_identifier
S_expr_path = 193, // expr_path
S_expr_istring = 194, // expr_istring
S_expr_string = 195, // expr_string
S_expr_vector = 196, // expr_vector
S_expr_float = 197, // expr_float
S_expr_integer = 198, // expr_integer
S_expr_false = 199, // expr_false
S_expr_true = 200 // expr_true
};
};
@ -1095,6 +1097,7 @@ namespace xsk { namespace gsc { namespace s4 {
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (std::move (that.value));
break;
@ -2403,6 +2406,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.template destroy< ast::expr > ();
break;
@ -4899,8 +4903,8 @@ switch (yykind)
/// Constants.
enum
{
yylast_ = 2278, ///< Last index in yytable_.
yynnts_ = 85, ///< Number of nonterminal symbols.
yylast_ = 2360, ///< Last index in yytable_.
yynnts_ = 86, ///< Number of nonterminal symbols.
yyfinal_ = 22 ///< Termination state number.
};
@ -4957,6 +4961,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.copy< ast::expr > (YY_MOVE (that.value));
break;
@ -5283,6 +5288,7 @@ switch (yykind)
case symbol_kind::S_expr_binary: // expr_binary
case symbol_kind::S_expr_primitive: // expr_primitive
case symbol_kind::S_expr_object: // expr_object
case symbol_kind::S_expr_identifier_neg: // expr_identifier_neg
value.move< ast::expr > (YY_MOVE (s.value));
break;
@ -5615,7 +5621,7 @@ switch (yykind)
#line 13 "parser.ypp"
} } } // xsk::gsc::s4
#line 5619 "parser.hpp"
#line 5625 "parser.hpp"