Changeset 15327 for src/Pugs/Parser

Show
Ignore:
Timestamp:
02/22/07 20:20:59 (21 months ago)
Author:
lwall
Message:

Y -> Z, XX -> X

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Parser/Operator.hs

    r15297 r15327  
    2121 
    2222listInfix :: [RuleOperator Exp] 
    23 listInfix = listOps (opWords "Y \xA5 XX ==> <==")  -- List infix 
     23listInfix = listOps (opWords "Z X minmax ==> <==")  -- List infix 
    2424 
    2525opWords :: String -> Set OpName 
     
    724724defaultInfixOps = opWords $ concat 
    725725    [ " ** * / % x xx +& +< +> ~& ~< ~> " 
    726     , " + - ~ +| +^ ~| ~^ ?| , Y \xA5 XX " 
     726    , " + - ~ +| +^ ~| ~^ ?| , Z X minmax " 
    727727    , " & ^ | " 
    728728    , " => = "