Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#7 missing filename on error output

closed-fixed
Ed Beroset
None
5
2002-05-22
2002-05-16
Ed Beroset
No

When using this invalid single line file:

%macro unterm 1

the error message generated is:

(null):0: error: end of file while still defining
macro `unterm'

Where the (null) should be unterm.asm (the name of the
input file) instead. This seems to have to do with
prematurely freeing all entries in the istk linked
list.

Discussion

  • Ed Beroset
    Ed Beroset
    2002-05-17

    Logged In: YES
    user_id=318066

    I updated preproc.c to address this problem by not having the preprocessor update the filename and line number when at the end of a file unless there was an outer including file.

     
  • Ed Beroset
    Ed Beroset
    2002-05-17

    • status: open --> open-fixed
     
  • H. Peter Anvin
    H. Peter Anvin
    2002-05-22

    • assigned_to: nobody --> beroset
    • status: open-fixed --> closed-fixed