#7 missing filename on error output

closed-fixed
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
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks