Commit 8b7b72e
Matthias Kastner
fix constant parsing
previously, a `=` in a comment of the constant definition line caused a
wrong identification of the constant's name.
now tested with the following constants:
```igorpro
StrConstant REQUIRE_MODE1 = "a\\\"bc" // == OUTPUT_MESSAGE |
INCREASE_ERROR | ABORT_FUNCTION
static Constant REQUIRE_MODE2 = 0x3B // == OUTPUT_MESSAGE |
INCREASE_ERROR | ABORT_FUNCTION
static Constant REQUIRE_MODE3 = 7 // == OUTPUT_MESSAGE |
INCREASE_ERROR | ABORT_FUNCTION
static Constant REQUIRE_MODE4 = 7
Constant a=1
Constant c=5
```1 parent acb750d commit 8b7b72e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
0 commit comments