openEHR / adl-antlr

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

NAMESPACE token should be a fragment #10

Closed pieterbos closed 8 years ago

pieterbos commented 8 years ago

The NAMESPACE token is ambiguous with ARCHETYPE_HRID, so sometimes a HRID matches as a NAMESPACE - result, parse error.

Making namespace a fragment (it can only be used in one place, so that sounds right) solves this issue

wolandscat commented 8 years ago

This is now corrected.

pieterbos commented 8 years ago

Tested, now works.