Commit 210fe869 authored by simonmar's avatar simonmar

[project @ 2000-03-09 09:39:26 by simonmar]

- remove hack which treats '_[A-Z]+' as a constructor token.  This
  isn't required now that everything in interface files is Z-encoded.
parent 2d83f9f3
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment