- Timestamp:
- Jul 1, 2022, 5:34:23 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- f37d9e7
- Parents:
- 120867e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r120867e r7991c7d 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat May 14 09:16:22202213 // Update Count : 540 112 // Last Modified On : Fri Jul 1 15:35:08 2022 13 // Update Count : 5405 14 14 // 15 15 … … 2441 2441 // empty 2442 2442 { $$ = nullptr; } 2443 // | '=' constant_expression2444 // { $$ = $2; }2445 | simple_assignment_operator initializer2446 { $$ = $1 == OperKinds::Assign ? $2 : $2->set_maybeConstructed( false ); }2443 | '=' constant_expression { $$ = new InitializerNode( $2 ); } 2444 | '=' '{' initializer_list_opt comma_opt '}' { $$ = new InitializerNode( $3, true ); } 2445 // | simple_assignment_operator initializer 2446 // { $$ = $1 == OperKinds::Assign ? $2 : $2->set_maybeConstructed( false ); } 2447 2447 ; 2448 2448
Note: See TracChangeset
for help on using the changeset viewer.