-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mis-parsed comment inside PSL directive. Fixes #1129
- Loading branch information
Showing
4 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
entity pragma_test is | ||
end pragma_test; | ||
|
||
architecture dummy of pragma_test is -- OK | ||
begin | ||
synerror: assert false | ||
-- pragma translate_off | ||
or true | ||
-- pragma translate_on | ||
report "dummy model found during synthesis" severity failure; | ||
|
||
end architecture dummy; | ||
|
||
|
||
architecture dummy2 of pragma_test is -- generates parsing error | ||
begin | ||
synerror: assert false | ||
-- pragma translate_off | ||
or true | ||
-- pragma translate_on | ||
report "dummy model found during synthesis" severity failure; | ||
|
||
end architecture dummy2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters