Changeset 3437 for src/Pugs/Types

Show
Ignore:
Timestamp:
05/19/05 15:01:28 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
5016
Message:

* remove primitive infix operators from being inserted into the

user-defined level of the precedence table; previously it was
breaking "or" and "and".

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Types/Code.hs

    r2441 r3437  
    1010    code_assoc    :: a -> VStr 
    1111    code_params   :: a -> Params 
     12    code_type     :: a -> SubType 
    1213 
    1314instance CodeClass ICode where 
     
    2021    code_assoc c  = code_assoc . unsafePerformSTM $ readTVar c 
    2122    code_params c = code_params . unsafePerformSTM $ readTVar c 
     23    code_type c   = code_type . unsafePerformSTM $ readTVar c 
    2224 
    2325instance CodeClass VCode where 
     
    3537    code_assoc    = subAssoc 
    3638    code_params   = subParams 
     39    code_type     = subType 
    3740