Changeset 15f769c
- Timestamp:
- Jun 20, 2021, 8:16:54 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1f3d212
- Parents:
- e319fc5
- Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/lex.ll
re319fc5 r15f769c 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : S at Jun 19 15:23:05202113 * Update Count : 75 812 * Last Modified On : Sun Jun 20 18:41:09 2021 13 * Update Count : 759 14 14 */ 15 15 … … 235 235 continue { KEYWORD_RETURN(CONTINUE); } 236 236 coroutine { KEYWORD_RETURN(COROUTINE); } // CFA 237 _Decimal32 { KEYWORD_RETURN( FLOAT); }// GCC238 _Decimal64 { KEYWORD_RETURN(D OUBLE); }// GCC239 _Decimal128 { KEYWORD_RETURN( uuFLOAT128); } // GCC237 _Decimal32 { KEYWORD_RETURN(DECIMAL32); } // GCC 238 _Decimal64 { KEYWORD_RETURN(DECIMAL64); } // GCC 239 _Decimal128 { KEYWORD_RETURN(DECIMAL128); } // GCC 240 240 default { KEYWORD_RETURN(DEFAULT); } 241 241 disable { KEYWORD_RETURN(DISABLE); } // CFA -
src/Parser/parser.yy
re319fc5 r15f769c 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed May 19 14:20:36202113 // Update Count : 502 212 // Last Modified On : Sun Jun 20 18:46:51 2021 13 // Update Count : 5023 14 14 // 15 15 … … 269 269 %token INT128 UINT128 uuFLOAT80 uuFLOAT128 // GCC 270 270 %token uFLOAT16 uFLOAT32 uFLOAT32X uFLOAT64 uFLOAT64X uFLOAT128 // GCC 271 %token DECIMAL32 DECIMAL64 DECIMAL128 // GCC 271 272 %token ZERO_T ONE_T // CFA 272 273 %token SIZEOF TYPEOF VALIST AUTO_TYPE // GCC … … 1891 1892 | uFLOAT128 1892 1893 { $$ = DeclarationNode::newBasicType( DeclarationNode::uFloat128 ); } 1894 | DECIMAL32 1895 { SemanticError( yylloc, "_Decimal32 is currently unimplemented." ); $$ = nullptr; } 1896 | DECIMAL64 1897 { SemanticError( yylloc, "_Decimal64 is currently unimplemented." ); $$ = nullptr; } 1898 | DECIMAL128 1899 { SemanticError( yylloc, "_Decimal128 is currently unimplemented." ); $$ = nullptr; } 1893 1900 | COMPLEX // C99 1894 1901 { $$ = DeclarationNode::newComplexType( DeclarationNode::Complex ); }
Note: See TracChangeset
for help on using the changeset viewer.