nlmixr2 / nonmem2rx

nonmem2rx
https://nlmixr2.github.io/nonmem2rx/
9 stars 0 forks source link

Parse error for data with character equality test #140

Closed billdenney closed 1 year ago

billdenney commented 1 year ago

I have a NONMEM .lst file with the following in the $DATA section which caused a parse error:

$DATA syntax error:
:002:             IGNORE=(C='C', TIME.LT.0, DVID.EQ.1, DVID.EQ.3,
                            ^
:002: 
:003:             CYCL.EQ.99)

(I didn't know that you could do character equality tests before this.)

mattfidler commented 1 year ago

The equality grammar is included. However, the 'C' was not understood by the parser.

mattfidler commented 1 year ago

Should be fixed

billdenney commented 1 year ago

Yep, it works now.