[nem-en] Re: compiler generated locations
vc
vc at rsdn.ru
Tue Nov 21 00:36:14 CET 2006
> But this requires changing Location into class and this appears to be
> a real pain.. :(
> I was playing with it some time, but I got many NullPointerExceptions
> first from lexer then parser (where I stopped). It looks like we have
> many places where location is not initialized at all and when we
> change it from struct to class we get nulls.
It's bad idea. It's be expressed in performance and memory penalty (each
object is + 12 bytes).
It is better using one bit in _fileIndex field.
More information about the devel-en
mailing list