[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / yaccParser / literal.ugn
1 %{
2 #include "hspincl.h"
3 %}
4 %{{
5 module U_literal where
6 import UgenUtil
7 import Util
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                         gclitlit_kind : stringId; >;
21         norepi      : < gnorepi     : stringId; >;
22         norepr      : < gnorepr_n   : stringId; 
23                         gnorepr_d   : stringId; >;
24         noreps      : < gnoreps     : hstring; >;
25 end;