openEHR / adl-antlr

Antrl4 grammars for ADL
Apache License 2.0
1 stars 4 forks source link

Fix the lexer so it is a single lexer again #33

Closed pieterbos closed 3 years ago

pieterbos commented 3 years ago

the lexer was setup as if it would be multiple lexers. That is not the case in ANTLR, unless it is a modal lexer. Which this is not.

This fixes most ADL 2 problems, but it has several problems left:

ADL 1.4 is unmodified in this PR, but it needs the exact same fixes.