]> git.gag.com Git - fw/sdcc/commitdiff
reverted to revision 4719; revision 4721 was committed by mistake
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 31 Mar 2007 13:20:16 +0000 (13:20 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 31 Mar 2007 13:20:16 +0000 (13:20 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4729 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCC.y

index 95f19b129f5fba708e23e8119df9df9ce44790e9..e54f49e32d7a4253e3ae12476881bc62ccae6a5d 100644 (file)
@@ -102,8 +102,7 @@ bool uselessDecl = TRUE;
 %token DUMMY_READ_VOLATILE ENDCRITICAL SWAP INLINE RESTRICT
 
 %type <yyint> Interrupt_storage
-%type <sym> identifier identifier_or_typename declarator declarator2 declarator3
-%type <sym> enumerator_list enumerator
+%type <sym> identifier declarator declarator2 declarator3 enumerator_list enumerator
 %type <sym> struct_declarator function_declarator function_declarator2
 %type <sym> struct_declarator_list struct_declaration struct_declaration_list
 %type <sym> declaration init_declarator_list init_declarator
@@ -1718,17 +1717,5 @@ jump_statement
 identifier
    : IDENTIFIER   { $$ = newSymbol ($1,NestLevel) ; }
    ;
-
-identifier_or_typename
-    : identifier
-    | TYPE_NAME {
-        symbol *sym;
-        sym_link   *p  ;
-        sym = findSym(TypedefTab,NULL,$1) ;
-        $$ = p = copyLinkChain(sym->type);
-        SPEC_TYPEDEF(getSpec(p)) = 0;
-        ignoreTypedefType = 1;
-      }
-
 %%