openEHR / adl-antlr

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

Multiline ODIN values aren't parsed correctly #3

Closed pieterbos closed 8 years ago

pieterbos commented 8 years ago
trying to parse adl2-tests/features/description/text/openEHR-TEST_PKG-ENTRY.long_lines.v1.adls
line 21:10 no viable alternative at input '<"'
line 21:16 mismatched input 'is' expecting '='
line 21:19 mismatched input 'what' expecting '=```
... many more lines here

when trying to parse

language = <[ISO_639-1::en]>
purpose = <"what this is for">
use = <"this is what it is used for, this could be a really long line or even
      multiple lines, just like 
      what you are reading now">
wolandscat commented 8 years ago

This should now work.

pieterbos commented 8 years ago

Tested, works.