Changeset 13864 for src/Pugs/Compile.hs

Show
Ignore:
Timestamp:
10/04/06 15:43:44 (2 years ago)
Author:
audreyt
Message:

* Add Martin Norbäck's Data.ByteString?.UTF8 as the new UTF8.hs

so we can use Unicode characters in source code without thinking
about its UTF8 encoding -- i.e. ("\187") is now perfectly okay.

* Also adjusted internals to distinguish clearly between Buf

and Str imports.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r13614 r13864  
    405405    compile (Syn "//" exp) = compile $ Syn "rx" exp 
    406406    compile (Syn "rx" [exp, _]) = compile exp -- XXX WRONG - use PCRE 
    407     compile (Syn "subst" [exp, _, _]) = compile exp -- XXX WRONG - use PCRE 
     407    compile (Syn "|" [exp]) = compile exp -- XXX WRONG 
     408    compile (Syn "|<<" [exp]) = compile exp -- XXX WRONG 
    408409    compile exp@(App _ _ _) = fmap PExp $ compile exp 
    409410    compile exp@(Syn _ _) = fmap PExp $ compile exp