Changeset 3a2128f for src/Parser/parser.yy
- Timestamp:
- Nov 29, 2016, 11:45:43 AM (8 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, resolv-new, with_gc
- Children:
- 1f44196
- Parents:
- 0afffee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r0afffee r3a2128f 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Oct 26 17:35:53201613 // Update Count : 206 612 // Last Modified On : Tue Nov 29 11:35:52 2016 13 // Update Count : 2069 14 14 // 15 15 … … 78 78 %token RESTRICT // C99 79 79 %token FORALL LVALUE // CFA 80 %token VOID CHAR SHORT INT LONG FLOAT DOUBLE SIGNED UNSIGNED 80 %token VOID CHAR SHORT INT LONG FLOAT DOUBLE SIGNED UNSIGNED ZERO_T ONE_T 81 81 %token VALIST // GCC 82 82 %token BOOL COMPLEX IMAGINARY // C99 … … 708 708 | '{' 709 709 // Two scopes are necessary because the block itself has a scope, but every declaration within the block also 710 // requires its own scope 710 // requires its own scope. 711 711 push push 712 712 local_label_declaration_opt // GCC, local labels … … 1404 1404 | VALIST // GCC, __builtin_va_list 1405 1405 { $$ = DeclarationNode::newBuiltinType( DeclarationNode::Valist ); } 1406 | ZERO_T 1407 { $$ = DeclarationNode::newBasicType( DeclarationNode::Char ); } 1408 | ONE_T 1409 { $$ = DeclarationNode::newBasicType( DeclarationNode::Char ); } 1406 1410 ; 1407 1411
Note: See TracChangeset
for help on using the changeset viewer.