Changeset afb15cf
- Timestamp:
- Aug 16, 2024, 12:25:53 PM (14 months ago)
- Branches:
- master
- Children:
- 3ac5fd8
- Parents:
- 5b643ea
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cpp
r5b643ea rafb15cf 999 999 assert( type ); 1000 1000 1001 // Some types are parsed as declarations and, syntactically, can have 1002 // initializers. However, semantically, this is meaningless. 1003 if ( initializer ) { 1004 SemanticError( this, "Initializer on type declaration " ); 1005 } 1006 1001 1007 switch ( type->kind ) { 1002 1008 case TypeData::Aggregate: { -
tests/Makefile.am
r5b643ea rafb15cf 210 210 CFACOMPILE_SYNTAX = ${CFACOMPILETEST} -Wno-unused-variable -Wno-unused-label -c -fsyntax-only -o ${abspath ${@}} 211 211 212 SYNTAX_ONLY_CODE = expression typedefRedef variableDeclarator switch numericConstants identFuncDeclarator \ 213 init1 limits nested-types cast ctrl-flow/labelledExit array quasiKeyword include/stdincludes include/includes builtins/sync warnings/self-assignment concurrency/waitfor/parse 212 SYNTAX_ONLY_CODE = \ 213 array cast expression identFuncDeclarator init1 limits nested-types numericConstants opt-params quasiKeyword switch typedefRedef variableDeclarator \ 214 builtins/sync concurrency/waitfor/parse ctrl-flow/labelledExit include/stdincludes include/includes warnings/self-assignment 215 214 216 ${SYNTAX_ONLY_CODE} : % : %.cfa ${CFACCBIN} 215 217 ${CFACOMPILE_SYNTAX}
Note:
See TracChangeset
for help on using the changeset viewer.