aboutsummaryrefslogtreecommitdiffstats
path: root/ortho/gcc/ortho_ident.ads
diff options
context:
space:
mode:
Diffstat (limited to 'ortho/gcc/ortho_ident.ads')
-rw-r--r--ortho/gcc/ortho_ident.ads12
1 files changed, 12 insertions, 0 deletions
diff --git a/ortho/gcc/ortho_ident.ads b/ortho/gcc/ortho_ident.ads
new file mode 100644
index 000000000..4675bc43c
--- /dev/null
+++ b/ortho/gcc/ortho_ident.ads
@@ -0,0 +1,12 @@
+with System; use System;
+
+package Ortho_Ident is
+ subtype O_Ident is Address;
+ function Get_Identifier (Str : String) return O_Ident;
+ function Get_String (Id : O_Ident) return String;
+ function Is_Equal (L, R : O_Ident) return Boolean renames System."=";
+ function Is_Equal (Id : O_Ident; Str : String) return Boolean;
+ O_Ident_Nul : constant O_Ident;
+private
+ O_Ident_Nul : constant O_Ident := Null_Address;
+end Ortho_Ident;