From ca512339e5224e3e23064654e56d490d33240787 Mon Sep 17 00:00:00 2001 From: johanknol Date: Tue, 23 Oct 2001 11:26:42 +0000 Subject: [PATCH] fixed bug #473654 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1434 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCC.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SDCC.y b/src/SDCC.y index 42dd761b..b88ead94 100644 --- a/src/SDCC.y +++ b/src/SDCC.y @@ -179,7 +179,6 @@ function_attributes $$ = newLink() ; $$->class = SPECIFIER ; FUNC_REGBANK($$) = (int) floatFromVal($2); - //FUNC_RBANK($$) = 1; } | REENTRANT { $$ = newLink (); $$->class = SPECIFIER ; @@ -880,7 +879,7 @@ declarator declarator2_function_attributes : declarator2 { $$ = $1 ; } | declarator2 function_attribute { - // do the functionAttributes (not the args and hasVargs !!) + // copy the functionAttributes (not the args and hasVargs !!) sym_link *funcType=$1->etype; struct value *args=FUNC_ARGS(funcType); unsigned hasVargs=FUNC_HASVARARGS(funcType); @@ -1003,7 +1002,8 @@ pointer DCL_TYPE($3) = EEPPOINTER; break; default: - werror(W_PTR_TYPE_INVALID); + // this could be just "constant" + // werror(W_PTR_TYPE_INVALID); } } else -- 2.30.2