Changeset 14355 for src/Pugs/Compile.hs

Show
Ignore:
Timestamp:
10/17/06 08:26:11 (2 years ago)
Author:
audreyt
svk:copy_cache_prev:
21206
Message:

* Pugs.Compile: Stub out the "subst" and "trans" nodes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r14353 r14355  
    404404    compile (Syn "match" exp) = compile $ Syn "rx" exp -- wrong 
    405405    compile (Syn "//" exp) = compile $ Syn "rx" exp 
    406     compile (Syn "rx" [exp, _]) = compile exp -- XXX WRONG - use PCRE 
     406    compile (Syn "rx" (exp:_)) = compile exp -- XXX WRONG - use PCRE 
     407    compile (Syn "subst" (exp:_)) = compile exp -- XXX WRONG - use PCRE 
     408    compile (Syn "trans" (exp:_)) = compile exp -- XXX WRONG 
    407409    compile (Syn "|" [exp]) = compile exp -- XXX WRONG 
    408410    compile (Syn "|<<" [exp]) = compile exp -- XXX WRONG