Changes in src/Parser/ParseNode.h [a16764a6:f6e3e34]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
ra16764a6 rf6e3e34 246 246 static DeclarationNode * newAttribute( std::string *, ExpressionNode * expr = nullptr ); // gcc attributes 247 247 static DeclarationNode * newAsmStmt( StatementNode * stmt ); // gcc external asm statement 248 static DeclarationNode * newStaticAssert( ExpressionNode * condition, Expression * message ); 248 249 249 250 DeclarationNode(); … … 313 314 Attr_t attr; 314 315 316 struct StaticAssert_t { 317 ExpressionNode * condition; 318 Expression * message; 319 }; 320 StaticAssert_t assert; 321 315 322 BuiltinType builtin; 316 323 … … 392 399 393 400 Statement * build_if( IfCtl * ctl, StatementNode * then_stmt, StatementNode * else_stmt ); 394 Statement * build_switch( ExpressionNode * ctl, StatementNode * stmt );401 Statement * build_switch( bool isSwitch, ExpressionNode * ctl, StatementNode * stmt ); 395 402 Statement * build_case( ExpressionNode * ctl ); 396 403 Statement * build_default();
Note:
See TracChangeset
for help on using the changeset viewer.