diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-04 18:50:58 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-04 18:50:58 +0100 |
commit | 83331b92f6763f42342303077d13a7bee505900b (patch) | |
tree | bda1d8468177daf3d4dd760a1d28d81847dce24e /src/vhdl | |
parent | b1aa6c0603351edaf0f07bacc73ded539d16ee57 (diff) | |
download | ghdl-83331b92f6763f42342303077d13a7bee505900b.tar.gz ghdl-83331b92f6763f42342303077d13a7bee505900b.tar.bz2 ghdl-83331b92f6763f42342303077d13a7bee505900b.zip |
vhdl-scanner: handle 'synopsys' pragma.
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-scanner.adb | 3 |
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 |