aboutsummaryrefslogtreecommitdiffstats
path: root/src/std_names.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-24 05:19:45 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-24 05:23:32 +0200
commit257309de4112f0f9ea5712669e840834feb3f066 (patch)
treecc79bf1fe577bdcc38b5145f03ecf920b56e6c0f /src/std_names.adb
parentfd8ab18f6cbe91b0f7820909fffecdd07440cb29 (diff)
downloadghdl-257309de4112f0f9ea5712669e840834feb3f066.tar.gz
ghdl-257309de4112f0f9ea5712669e840834feb3f066.tar.bz2
ghdl-257309de4112f0f9ea5712669e840834feb3f066.zip
vhdl scanner: handle pragma translate_on/translate_off.
Diffstat (limited to 'src/std_names.adb')
-rw-r--r--src/std_names.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/std_names.adb b/src/std_names.adb
index 499eb29c4..91c9e5320 100644
--- a/src/std_names.adb
+++ b/src/std_names.adb
@@ -601,6 +601,9 @@ package body Std_Names is
Def ("item", Name_Item);
Def ("__FILE__", Name_Uu_File_Uu);
Def ("__LINE__", Name_Uu_Line_Uu);
+ Def ("synthesis", Name_Synthesis);
+ Def ("translate_off", Name_Translate_Off);
+ Def ("translate_on", Name_Translate_On);
Def ("none", Name_None);
Def ("ieee", Name_Ieee);