Changeset 5
- Timestamp:
- 02/07/05 01:14:52 (4 years ago)
- svk:copy_cache_prev:
- 1041
- Files:
-
- 2 modified
-
Makefile.PL (modified) (1 diff)
-
src/Lexer.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.PL
r1 r5 22 22 $has_readline = 0 if $^O eq 'MSWin32'; 23 23 24 if ($^O =~ /darwin/i and not -e "/usr/local/ readline/readline.h") {25 die<< '.';26 *** /usr/local/ readline/readline.h not found.24 if ($^O =~ /darwin/i and not -e "/usr/local/include/readline/readline.h") { 25 warn << '.'; 26 *** /usr/local/include/readline/readline.h not found. 27 27 *** Readline support disabled. If you want readling support, 28 28 please install Readline from the URL below and try again: 29 29 http://p4.elixus.org/snap/pugs/macosx-readline-5.0.005.pkg.tar.gz 30 30 . 31 $has_readline = 0; 31 32 } 32 33 -
src/Lexer.hs
r4 r5 141 141 <?> "literal string") 142 142 143 singleStrChar = quotedQuote <|> noneOf "'"143 singleStrChar = try quotedQuote <|> noneOf "'" 144 144 145 145 quotedQuote = do 146 char '\\'147 anyChar146 string "\\'" 147 return '\'' 148 148
