From: <no...@so...> - 2002-08-26 03:30:42
|
Bugs item #600035, was opened at 2002-08-26 00:30 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=600035&group_id=599 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Felipe Massia Pereira (felmasper) Assigned to: Nobody/Anonymous (nobody) Summary: wrong line info (now reproduceable) Initial Comment: Error info: line should be line 2 but it's 7. Now I could reproduce it. ~/test $ cat err2.c int func() { /*line 1*/ x=1; /* some lines here (line 5) */ } int main(void) {} /* last line 9 */ felipe@felipe ~/test $ /usr/local/src/sdcc-cvs/bin/sdcc err2.c err2.c:7: error: Undefined identifier 'x' err2.c:7: error: code not generated for 'func' due to previous errors err2.c:8: error: code not generated for 'main' due to previous errors ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=600035&group_id=599 |