Changeset 7953 for src/Pugs/Lexer.hs

Show
Ignore:
Timestamp:
11/14/05 03:15:42 (3 years ago)
Author:
luqui
svk:copy_cache_prev:
10363
Message:

Added some tests for these changes. The listop method needs
many many more, though.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Lexer.hs

    r7952 r7953  
    203203charControl :: GenParser Char st Char 
    204204charControl     = do{ char 'c' 
    205                     ; code <- upper 
     205                    ; code <- upper <|> char '@' 
    206206                    ; return (toEnum (fromEnum code - fromEnum '@')) 
    207207                    }