Tom Schneider wrote:
Thanks for clarifying the standard for me.
I'm using --transparent-file-names and with that get NOT eof.
I hope that clarifies the issue for you.
Actually, what you write makes things less clear. I wrote that the non-standard behaviour appeared _because_ you reqested standard behaviour: by default GPC was standard compliant here and people using default setting were not seeing the problem.
As I wrote in another message the code responsible for standard handling of eoln was buggy and caused the problem (a fix is in that message).
Since you wrote many times that you run GPC with `--standard-pascal' I assumed that this is the case (note that `-fstandard-pascal' and `--standard-pascal' mean the same for GPC).