diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-04-29 08:53:28 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-04-29 08:53:28 +0200 |
commit | 346eaebf0f402b83d52c1bc90528d9d8da354359 (patch) | |
tree | e850ea5bed8a9ddc17911450b41ac07df433e447 | |
parent | 12c9b7e793642b9713fae6a924813fe49d220517 (diff) | |
download | ghdl-346eaebf0f402b83d52c1bc90528d9d8da354359.tar.gz ghdl-346eaebf0f402b83d52c1bc90528d9d8da354359.tar.bz2 ghdl-346eaebf0f402b83d52c1bc90528d9d8da354359.zip |
options: add -fpragma-translate options (for debug purposes)
-rw-r--r-- | src/options.adb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/options.adb b/src/options.adb index 4bafa33fc..9b657cbb3 100644 --- a/src/options.adb +++ b/src/options.adb @@ -234,6 +234,9 @@ package body Options is elsif Opt = "-fpsl" then Vhdl.Scanner.Flag_Psl_Comment := True; Vhdl.Scanner.Flag_Comment_Keyword := True; + elsif Opt = "-fpragma-translate" then + Vhdl.Scanner.Flag_Comment_Keyword := True; + Vhdl.Scanner.Flag_Pragma_Comment := True; elsif Opt = "-dp" then Dump_Parse := True; elsif Opt = "-ds" then |