aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-04-29 08:53:28 +0200
committerTristan Gingold <tgingold@free.fr>2022-04-29 08:53:28 +0200
commit346eaebf0f402b83d52c1bc90528d9d8da354359 (patch)
treee850ea5bed8a9ddc17911450b41ac07df433e447 /src/options.adb
parent12c9b7e793642b9713fae6a924813fe49d220517 (diff)
downloadghdl-346eaebf0f402b83d52c1bc90528d9d8da354359.tar.gz
ghdl-346eaebf0f402b83d52c1bc90528d9d8da354359.tar.bz2
ghdl-346eaebf0f402b83d52c1bc90528d9d8da354359.zip
options: add -fpragma-translate options (for debug purposes)
Diffstat (limited to 'src/options.adb')
-rw-r--r--src/options.adb3
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