diff options
author | pieter | 1999-12-22 09:48:10 +0000 |
---|---|---|
committer | pieter | 1999-12-22 09:48:10 +0000 |
commit | b95f2b3804688b0a8af7ac4c2804da3385b41249 (patch) | |
tree | da174561d64fc8d8879e63d2bfa3696cfb422566 /frontend/scanner.icl | |
parent | char strings, record types, error messages wantList (diff) |
\" as escape char
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@70 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/scanner.icl')
-rw-r--r-- | frontend/scanner.icl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/scanner.icl b/frontend/scanner.icl index fb66486..8ee980c 100644 --- a/frontend/scanner.icl +++ b/frontend/scanner.icl @@ -814,7 +814,7 @@ where '\t' -> (['t','\\':chars], n + 2, input) '\v' -> (['v','\\':chars], n + 2, input) '\\' -> (['\\','\\':chars], n + 2, input) -// '"' -> (['"' ,'\\':chars], n + 2, input) + '"' -> (['"' ,'\\':chars], n + 2, input) '\'' -> (['\'','\\':chars], n + 2, input) c -> ([c:chars], n + 1, input) |