[project @ 1999-06-14 11:11:29 by simonmar]
authorsimonmar <unknown>
Mon, 14 Jun 1999 11:11:29 +0000 (11:11 +0000)
committersimonmar <unknown>
Mon, 14 Jun 1999 11:11:29 +0000 (11:11 +0000)
Allow ``...'' as argument of __casm.

ghc/compiler/rename/ParseIface.y

index 0d160a0..5d58b40 100644 (file)
@@ -152,6 +152,7 @@ import Ratio ( (%) )
  STRING                { ITstring   $$ }
  INTEGER       { ITinteger  $$ }
  RATIONAL      { ITrational $$ }
+ CLITLIT       { ITlitlit   $$ }
 
  UNKNOWN       { ITunknown  $$ }
 %%
@@ -737,6 +738,7 @@ core_tv_bndr        :  '@' tv_name '::' akind               { UfTyBinder $2 $4 }
 
 ccall_string   :: { FAST_STRING }
                : STRING                                        { $1 }
+               | CLITLIT                                       { $1 }
                | VARID                                         { $1 }
                | CONID                                         { $1 }