aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/parse.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/parse.ads')
-rw-r--r--src/vhdl/parse.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/parse.ads b/src/vhdl/parse.ads
index ea7c56cf0..41f22a3fd 100644
--- a/src/vhdl/parse.ads
+++ b/src/vhdl/parse.ads
@@ -36,6 +36,10 @@ package Parse is
Len : Nat32;
Loc : Location_Type) return Name_Id;
+ -- Convert string literal STR to an operator symbol.
+ -- Emit an error message if the string is not an operator name.
+ function String_To_Operator_Symbol (Str : Iir) return Iir;
+
-- Parse a single design unit.
-- The scanner must have been initialized, however, the current_token
-- shouldn't have been set.