Opened 14 years ago

Last modified 14 years ago

#1566 closed defect (fixed)

Compilation of nonexisting mos-script gives parser error

Reported by: Per Östlund Owned by: Per Östlund
Priority: low Milestone:
Component: Version:
Keywords: Cc: Per Östlund,

Description

Running the compiler on a mos-script that doesn't exist produces the error:

File does not exist: test.mos
[test.mos:1:0-1:0:writable] Error: No viable alternative near token: <EOF>

Since the file doesn't exist it's kind of pointless to print parser errors for it. This does not happen for a .mo-file, in which case only the first message is displayed.

Change History (1)

comment:1 by Martin Sjölund, 14 years ago

See r9436

Note: See TracTickets for help on using tickets.