Skip to content

Antlr 3.5 lexer produces code that cannot be compiled in C# #131

@SpeechCenter

Description

@SpeechCenter

in Antlr 3.4 generating a lexer to C# produces correct code

        private const string DFA30_minS =
            "\x2\x2E\x3\xFFFF";

In Antlr 3.5 it seems incorrect

        private const string DFA30_minS =
            "\2\56\3\uffff";

The numbers seem to be octal and anyway it doesn't compile
(code generated using ANTLRWorks 1.5)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions