From 83331b92f6763f42342303077d13a7bee505900b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 4 Nov 2019 18:50:58 +0100 Subject: vhdl-scanner: handle 'synopsys' pragma. --- src/vhdl/vhdl-scanner.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vhdl') 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 -- cgit v1.2.3