"It would be sufficient to simply have options for this behavior I suppose. By default --classic-pascal should report an error and fail in this situation if we are to comply with the ISO standard."

No, clearly that is not true:

6.6.6.5 Boolean functions

...

eoln(f)

    The parameter f shall be a textfile ; if the actual-parameter-list is omitted, the function shall be applied to the required textfile input (see 6.10) and the program shall contain a program-parameter-list containing an identifier with the spelling input. When eoln(f) is activated, it shall be an error if f is undefined or if eof(f) is true ; otherwise, the function shall yield the value true if f.R.first is an end-of-line component (see 6.4.3.5) ; otherwise, false.

3.1 Error

A violation by a program of the requirements of this International Standard that a processor is permitted to leave undetected.


Dude, I could quote ya the standard all day, but if you are making statements about compliance with

the standard, ya gotta READ it :-)


http://www.standardpascal.org/iso7185.html