Changeset 5662

Show
Ignore:
Timestamp:
07/18/05 16:49:03 (3 years ago)
Author:
iblech
svk:copy_cache_prev:
7648
Message:

Pugs.Compile -- Don't output the raw Exp in the show of PPos to ease the life
of PIL parser writers.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r5646 r5662  
    8989    show PNil = "PNil" 
    9090    show PNoop = "PNoop" 
    91     show (PPos x y z) = "(PPos " ++ show x ++ " " ++ show y ++ " " ++ show z ++ ")" 
     91    show (PPos x _ z) = "(PPos " ++ show x ++ " Noop " ++ show z ++ ")" 
    9292    show (PApp x y i z) = "(PApp " ++ show x ++ " " ++ show y ++ " " ++ show i ++ " " ++ show z ++ ")" 
    9393    show (PExp x) = "(PExp " ++ show x ++ ")"