Unsupported multi-line macros
Summary
Unsupported syntax
Describe your setup
Fastrich aurora defines
TMRG Version
REPRODUCED_111
Steps to reproduce
`define AURORA_BLOCK_CODE_BITS 8
`define AURORA_NFC_BLOCK `AURORA_BLOCK_CODE_BITS'haa
`define AURORA_UFC_BLOCK `AURORA_BLOCK_CODE_BITS'h2d
`define AURORA_UK_BLOCKS { \
`AURORA_BLOCK_CODE_BITS'h87, \
`AURORA_BLOCK_CODE_BITS'h4b, \
`AURORA_BLOCK_CODE_BITS'h33, \
`AURORA_BLOCK_CODE_BITS'h66, \
`AURORA_BLOCK_CODE_BITS'hcc, \
`AURORA_BLOCK_CODE_BITS'hb4, \
`AURORA_BLOCK_CODE_BITS'h55, \
`AURORA_BLOCK_CODE_BITS'h99, \
`AURORA_BLOCK_CODE_BITS'hd2 \
}
module test;
endmodule
What is the current bug behavior?
$ tmrg test.sv
[ERROR ] Error in file 'test.sv' around line '7'.
[ERROR ]
[ERROR ] `AURORA_BLOCK_CODE_BITS'h87, \
[ERROR ] ^
[ERROR ] Expected end of text, found '`' (at char 256), (line:7, col:5)
[ERROR ] Error during parsing
What is the expected correct behavior?
Parsing is unaffected
Possible fixes
To be investigated