Commit 791207a3 authored by simonpj's avatar simonpj
Browse files

[project @ 2003-04-10 15:32:28 by simonpj]

update expected output
parent 76a0a981
-- !!! Testing the behaviour of Char.lexLitChar a little..
-- [March 2003] We now allow \X and \O as escapes although the
-- spec only permits \x and \o. Seems more consistent.
module Main where
import Char
......
lex '\X00' = []
lex '\X00' = [("'\\X00'","")]
lex '\x0f2' = [("'\\x0f2'","")]
lex '\xf2' = [("'\\xf2'","")]
lex '\xf2t' = []
lex '\X24' = []
lex '\X24' = [("'\\X24'","")]
lex '\x24b' = [("'\\x24b'","")]
lex '\Xa4b' = []
lex '\Xa4b' = [("'\\Xa4b'","")]
lex '\xa4bg' = []
lex '\o00' = [("'\\o00'","")]
lex '\o05' = [("'\\o05'","")]
lex '\o50' = [("'\\o50'","")]
lex '\o72' = [("'\\o72'","")]
lex '\o82' = []
lex '\O24' = []
lex '\O000024' = []
lex '\O24' = [("'\\O24'","")]
lex '\O000024' = [("'\\O000024'","")]
lex '\024b' = []
lex '\o14b' = []
lex '\0a4bg' = []
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment