[project @ 1996-04-07 15:41:24 by partain]
[ghc-hetmet.git] / ghc / compiler / parser / literal.ugn
1 %{
2 #include "hspincl.h"
3 %}
4 %{{
5 module U_literal where
6 import Ubiq --  debugging consistency check
7 import UgenUtil
8 %}}
9 type literal;
10         integer     : < ginteger    : stringId; >;
11         intprim     : < gintprim    : stringId; >;
12         floatr      : < gfloatr     : stringId; >;
13         doubleprim  : < gdoubleprim : stringId; >;
14         floatprim   : < gfloatprim  : stringId; >;
15         charr       : < gchar       : hstring; >;
16         charprim    : < gcharprim   : hstring; >;
17         string      : < gstring     : hstring; >;
18         stringprim  : < gstringprim : hstring; >;
19         clitlit     : < gclitlit    : stringId; >;
20 end;