When I run the application in java pathfinder I get errors in the
parsing. After some digging around in the antlr source code it seems
that these errors are being caused because java pathfinder's VM isn't
recognising \0 (or \000 or \u000) as the null character. Antlr's lexer
seems to be using \0 in a number of fixed strings in order to specify
special characters etc.
Is this a known bug? and does anyone have a fix either in terms of
settings for javapathfinder or in terms of some way of hacking the code
generated by antlr?
Louise Dennis
-- Peter
String test = "\u0000";
System.err.println(test.length());
char ch = test.charAt(0);
System.err.println(Character.isISOControl(ch));
normally produces the output:
1
true
but:
2
false
When being executed within Java Pathfinder (version v6.0).
Louise
-- Peter