[project @ 2000-03-09 09:39:26 by simonmar]
authorsimonmar <unknown>
Thu, 9 Mar 2000 09:39:26 +0000 (09:39 +0000)
committersimonmar <unknown>
Thu, 9 Mar 2000 09:39:26 +0000 (09:39 +0000)
- remove hack which treats '_[A-Z]+' as a constructor token.  This
  isn't required now that everything in interface files is Z-encoded.

ghc/compiler/parser/Lex.lhs

index 6d56a6d..6b1e212 100644 (file)
@@ -1036,9 +1036,6 @@ slurp_trailing_hashes buf glaexts
 
 mk_var_token pk_str
   | is_upper f         = ITconid pk_str
-       -- _[A-Z] is treated as a constructor in interface files.
-  | f `eqChar#` '_'# && not (_NULL_ tl) 
-       && (case _HEAD_ tl of { C# g -> is_upper g }) = ITconid pk_str
   | is_ident f         = ITvarid pk_str
   | f `eqChar#` ':'#   = ITconsym pk_str
   | otherwise          = ITvarsym pk_str