You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But unfortunately, since there is no way to control in the "verible-verilog-syntax" command what preprocessor defines are present, "test2" will be present in the tree and "test1" will not. I was prepared to use the "rawtokens" output to essentially do my own preprocessing. But I can't because not enough information is put into the tree.
Were you able to find any work-arounds to your question?
imput file like this:
module A (
ifdef DEBUGinput debug_tag,
endif input xxx, ); endmodule
but verible-verilog-syntax cant parse debug_tag, unless add
define DEBUG
.how to add "define DEBUG" in cmd line?
The text was updated successfully, but these errors were encountered: