Could yeti.lang.compiler.CompileException make the line, col and what values accessible?

6 views
Skip to first unread message

chrisichris

unread,
Mar 7, 2012, 3:55:35 AM3/7/12
to yeti-lang
If I CompileException had a getLine() property I could show the
affected code.

Thanks,
Christian

chrisichris

unread,
Mar 7, 2012, 4:29:40 AM3/7/12
to yeti-lang
Sorry for the too fast posting.

I can already extract everything needed from the Message using the
regex:

like '([^:]+):(\d+):(\d+):(.*)' (ex#getMessage()) ()

Thanks,
Christian

Madis

unread,
Mar 8, 2012, 1:08:40 PM3/8/12
to yeti-lang

On Wed, 7 Mar 2012, chrisichris wrote:

> If I CompileException had a getLine() property I could show the
> affected code.

getMessage() should actually give those all, but I guess that the line
could be made public.

Reply all
Reply to author
Forward
0 new messages