Commit 2ed8e70
scriptcs#1143. Char literals does not take escape sequences into account (scriptcs#1144)
* scriptcs#1143: Char literals does not take escape sequences into account
* scriptcs#1143: Added unit test for problem and added a fix to not break another unit test that is checking that broken input is to be accepted1 parent 7fcebf2 commit 2ed8e70
2 files changed
Lines changed: 24 additions & 6 deletions
File tree
- src/ScriptCs.Engine.Mono/Segmenter/Lexer
- test/ScriptCs.Engine.Mono.Tests/Segmenter
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 75 | + | |
| 76 | + | |
78 | 77 | | |
79 | | - | |
80 | | - | |
| 78 | + | |
81 | 79 | | |
82 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
132 | 146 | | |
133 | 147 | | |
134 | 148 | | |
| |||
0 commit comments