forked from jasder/antlr
Fix ErrorManager ignoring error code in messages
This commit is contained in:
parent
adad53ee18
commit
5fd8b223b6
|
@ -131,7 +131,7 @@ public class ErrorManager {
|
|||
locationValid = true;
|
||||
}
|
||||
|
||||
messageFormatST.add("id", msg.errorType.ordinal());
|
||||
messageFormatST.add("id", msg.errorType.code);
|
||||
messageFormatST.add("text", messageST);
|
||||
|
||||
if (locationValid) reportST.add("location", locationST);
|
||||
|
|
Loading…
Reference in New Issue