aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-scanner.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-04 18:50:58 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-04 18:50:58 +0100
commit83331b92f6763f42342303077d13a7bee505900b (patch)
treebda1d8468177daf3d4dd760a1d28d81847dce24e /src/vhdl/vhdl-scanner.adb
parentb1aa6c0603351edaf0f07bacc73ded539d16ee57 (diff)
downloadghdl-83331b92f6763f42342303077d13a7bee505900b.tar.gz
ghdl-83331b92f6763f42342303077d13a7bee505900b.tar.bz2
ghdl-83331b92f6763f42342303077d13a7bee505900b.zip
vhdl-scanner: handle 'synopsys' pragma.
Diffstat (limited to 'src/vhdl/vhdl-scanner.adb')
-rw-r--r--src/vhdl/vhdl-scanner.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-scanner.adb b/src/vhdl/vhdl-scanner.adb
index 1d47a76f4..aadb0d538 100644
--- a/src/vhdl/vhdl-scanner.adb
+++ b/src/vhdl/vhdl-scanner.adb
@@ -1835,7 +1835,8 @@ package body Vhdl.Scanner is
return True;
end if;
when Name_Pragma
- | Name_Synthesis =>
+ | Name_Synthesis
+ | Name_Synopsys =>
if Flag_Pragma_Comment then
Scan_Comment_Identifier (Id, True);
case Id is