Changes in src/Parser/ParseNode.h [f6e3e34:a16764a6]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
rf6e3e34 ra16764a6 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 );249 248 250 249 DeclarationNode(); … … 314 313 Attr_t attr; 315 314 316 struct StaticAssert_t {317 ExpressionNode * condition;318 Expression * message;319 };320 StaticAssert_t assert;321 322 315 BuiltinType builtin; 323 316 … … 399 392 400 393 Statement * build_if( IfCtl * ctl, StatementNode * then_stmt, StatementNode * else_stmt ); 401 Statement * build_switch( bool isSwitch,ExpressionNode * ctl, StatementNode * stmt );394 Statement * build_switch( ExpressionNode * ctl, StatementNode * stmt ); 402 395 Statement * build_case( ExpressionNode * ctl ); 403 396 Statement * build_default();
Note:
See TracChangeset
for help on using the changeset viewer.