F
Ferenc Engard
Hi all,
I have a large ruby project (>40 files, >10k rows), and whenever I make
a syntax error somewhere (e.g. swap an 'end' and a '}' token), I always
get the same error, dozens of files away, in an END block, that a given
constant is not defined.
Isn't it possible to detect such errors by the parser/lexer, and give a
helpful error message?
Ferenc
I have a large ruby project (>40 files, >10k rows), and whenever I make
a syntax error somewhere (e.g. swap an 'end' and a '}' token), I always
get the same error, dozens of files away, in an END block, that a given
constant is not defined.
Isn't it possible to detect such errors by the parser/lexer, and give a
helpful error message?
Ferenc