Changeset 2ab31fd for src/Parser
- Timestamp:
- Jun 11, 2024, 5:06:32 PM (5 months ago)
- Branches:
- master
- Children:
- 12f1156, f1d2c44
- Parents:
- 42cdd07d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r42cdd07d r2ab31fd 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Apr 27 16:23:14202413 // Update Count : 66 2512 // Last Modified On : Tue Jun 11 16:56:42 2024 13 // Update Count : 6638 14 14 // 15 15 … … 2024 2024 | type_qualifier_list cfa_abstract_tuple identifier_or_type_name asm_name_opt 2025 2025 { $$ = $2->addQualifiers( $1 )->addName( $3 )->addAsmName( $4 ); } 2026 2027 // [ int s, int t ]; // declare s and t 2028 // [ int, int ] f(); 2029 // [] g( int ); 2030 // [ int x, int y ] = f(); // declare x and y, initialize each from f 2031 // g( x + y ); 2032 | cfa_function_return asm_name_opt 2033 { SemanticError( yylloc, "tuple-element declarations is currently unimplemented." ); $$ = nullptr; } 2034 | type_qualifier_list cfa_function_return asm_name_opt 2035 { SemanticError( yylloc, "tuple variable declaration is currently unimplemented." ); $$ = nullptr; } 2026 2036 ; 2027 2037
Note: See TracChangeset
for help on using the changeset viewer.