Changeset f6e3e34 for src/Parser/parser.yy
- Timestamp:
- Apr 3, 2018, 11:13:10 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- 92fea32
- Parents:
- 3d2b7bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r3d2b7bc rf6e3e34 1308 1308 static_assert: 1309 1309 STATICASSERT '(' constant_expression ',' string_literal ')' ';' // C11 1310 { SemanticError( yylloc, "Static assert is currently unimplemented." ); $$ = nullptr; } // FIX ME1310 { $$ = DeclarationNode::newStaticAssert( $3, $5 ); } 1311 1311 1312 1312 // C declaration syntax is notoriously confusing and error prone. Cforall provides its own type, variable and function
Note: See TracChangeset
for help on using the changeset viewer.