aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-scanner.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-scanner.adb')
-rw-r--r--src/vhdl/vhdl-scanner.adb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-scanner.adb b/src/vhdl/vhdl-scanner.adb
index bdda2340f..fba0dab54 100644
--- a/src/vhdl/vhdl-scanner.adb
+++ b/src/vhdl/vhdl-scanner.adb
@@ -2257,6 +2257,14 @@ package body Vhdl.Scanner is
when '<' =>
Current_Token := Tok_Double_Less;
Pos := Pos + 2;
+ when '-' =>
+ if Flag_Psl and then Source (Pos + 2) = '>' then
+ Current_Token := Tok_Equiv_Arrow;
+ Pos := Pos + 3;
+ else
+ Current_Token := Tok_Less;
+ Pos := Pos + 1;
+ end if;
when others =>
Current_Token := Tok_Less;
Pos := Pos + 1;