RE: Lexing character literals in H98

2002-04-26 Thread Simon Peyton-Jones
| Yet another H98 question, this time regarding the module | Char: Is it a deliberate design decision that readLitChar | handles decimal, octal, and hex escapes, but lexLitChar | handles only decimal ones? It looks more like an oversight to me... Me too. It's a messy part of the language that

Lexing character literals in H98

2002-04-14 Thread Sven Panne
Yet another H98 question, this time regarding the module Char: Is it a deliberate design decision that readLitChar handles decimal, octal, and hex escapes, but lexLitChar handles only decimal ones? It looks more like an oversight to me... Another question is if the uppercase variants '\O...' and