openEHR / adl-antlr

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

HLINE gets recognised as a CMT_LINE #12

Closed pieterbos closed 8 years ago

pieterbos commented 8 years ago

Token stream logs:

[@2410,39246:39257='"Comentario"',<96>,596:24]
[@2411,39258:39258='>',<19>,596:36]
[@2412,39276:39286='description',<91>,597:16]
[@2413,39288:39288='=',<4>,597:28]
[@2414,39290:39290='<',<17>,597:30]
[@2415,39291:39341='"Comentario sobre la medida de la presión arterial"',<96>,597:31]
[@2416,39342:39342='>',<19>,597:82]
[@2417,39356:39356='>',<19>,598:12]
[@2418,39366:39366='>',<19>,599:8]
[@2419,39372:39372='>',<19>,600:4]
[@2420,39458:39473='template_overlay',<35>,604:0]
[@2421,39475:39475='(',<1>,604:17]
[@2422,39476:39486='adl_version',<46>,604:18]

While the input is:

      >
        ["sl"] = <

        >
        ["es-ar"] = <

        >
    >

---------------------------------------------------------------------------------
template_overlay (adl_version=2.0.5; rm_release=1.0.2; generated)
wolandscat commented 8 years ago

This should now work.

pieterbos commented 8 years ago

Tested, works.