[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / yaccParser / literal.ugn
diff --git a/ghc/compiler/yaccParser/literal.ugn b/ghc/compiler/yaccParser/literal.ugn
new file mode 100644 (file)
index 0000000..f35f54f
--- /dev/null
@@ -0,0 +1,25 @@
+%{
+#include "hspincl.h"
+%}
+%{{
+module U_literal where
+import UgenUtil
+import Util
+%}}
+type literal;
+       integer     : < ginteger    : stringId; >;
+       intprim     : < gintprim    : stringId; >;
+       floatr      : < gfloatr     : stringId; >;
+       doubleprim  : < gdoubleprim : stringId; >;
+       floatprim   : < gfloatprim  : stringId; >;
+       charr       : < gchar       : hstring; >;
+       charprim    : < gcharprim   : hstring; >;
+       string      : < gstring     : hstring; >;
+       stringprim  : < gstringprim : hstring; >;
+       clitlit     : < gclitlit    : stringId;
+                       gclitlit_kind : stringId; >;
+       norepi      : < gnorepi     : stringId; >;
+       norepr      : < gnorepr_n   : stringId; 
+                       gnorepr_d   : stringId; >;
+       noreps      : < gnoreps     : hstring; >;
+end;