Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
teaching
nswi098
Cecko
skeleton
Commits
c0e34fde
Commit
c0e34fde
authored
Oct 22, 2020
by
Bednárek David RNDr. Ph.D.
Browse files
Changed required behavior for malformed escapes
parent
d3e0972c
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/testla-chr-n.cecko1.gold
View file @
c0e34fde
...
...
@@ -35,14 +35,14 @@ Error (line 10): Malformed escape sequence "\q"
11: ETYPE char
11: identifier [e]
11: =
Error (line 11): Malformed escape sequence "1234"
Error (line 11): Malformed escape sequence "
\x
1234"
11: integer literal 52
11: ;
12: ETYPE char
12: identifier [f]
12: =
Error (line 12): Malformed escape sequence "\x"
12: integer literal 0
12: integer literal
12
0
12: ;
14: ETYPE char
14: identifier [g]
...
...
test/testla-str-n.cecko1.gold
View file @
c0e34fde
...
...
@@ -20,7 +20,7 @@ Error (line 5): End of line in string or character literal
6: *
6: identifier [b]
6: =
Error (line 6): Malformed escape sequence "abce"
Error (line 6): Malformed escape sequence "
\x
abce"
6: string literal "Too long hex \xcescape"
6: ;
7: ETYPE char
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment