when the end of the file is reached, report it at the start line rather than "EOF" as then tools like editors and IDEs will take you to a generally more useful place for fixing the problem.
1 line
70 B
Text
1 line
70 B
Text
pp_missing_enddef.i:3: Error: Missing %enddef for macro starting here
|