From: johanknol Date: Tue, 7 Jan 2003 19:42:41 +0000 (+0000) Subject: fixed bug#600035 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=8e15889ed4b7a53f177b0c91e2f95df77c2ad5fe;p=fw%2Fsdcc fixed bug#600035 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2144 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index aa877475..ab7b9977 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-01-07 + + * src/SDCCast.c (decorateType): fixed bug #600035 + 2003-01-07 Bernhard Held * as/mcs51/lkmem.c: added several l-modifiers to printf to remove warnings * as/mcs51/lkaomf51.c: #include to remove warnings diff --git a/src/SDCCast.c b/src/SDCCast.c index fa103570..c92f179b 100644 --- a/src/SDCCast.c +++ b/src/SDCCast.c @@ -1899,6 +1899,7 @@ decorateType (ast * tree) /*----------------------------*/ /* leaf has been reached */ /*----------------------------*/ + lineno=tree->lineno; /* if this is of type value */ /* just get the type */ if (tree->type == EX_VALUE)