Changeset b47b827
- Timestamp:
- Jun 2, 2018, 5:20:36 PM (6 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:
- 7d69095
- Parents:
- 46fa473
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r46fa473 rb47b827 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jun 2 17:1 6:19201813 // Update Count : 348 012 // Last Modified On : Sat Jun 2 17:18:40 2018 13 // Update Count : 3487 14 14 // 15 15 … … 1331 1331 c_declaration ';' 1332 1332 | cfa_declaration ';' // CFA 1333 | static_assert 1333 | static_assert // C11 1334 1334 ; 1335 1335 … … 1337 1337 STATICASSERT '(' constant_expression ',' string_literal ')' ';' // C11 1338 1338 { $$ = DeclarationNode::newStaticAssert( $3, $5 ); } 1339 | STATICASSERT '(' constant_expression ')' ';' // CFA 1340 { $$ = DeclarationNode::newStaticAssert( $3, build_constantStr( *new string( "" ) ) ); } 1339 1341 1340 1342 // C declaration syntax is notoriously confusing and error prone. Cforall provides its own type, variable and function … … 1892 1894 | cfa_typedef_declaration ';' // CFA 1893 1895 { SemanticError( yylloc, "Typedef in aggregate is currently unimplemented." ); $$ = nullptr; } 1894 | static_assert 1896 | static_assert // C11 1895 1897 ; 1896 1898
Note: See TracChangeset
for help on using the changeset viewer.