Add experimental -insert-semicolon functionality to tokenizer and parser

This commit is contained in:
gingerBill committed 2020-11-01 15:10:06 +00:00
1 parent 75e8e5e06f
commit 54fbdabc38
11 files changed
+2253 -42

No files matched your search

+4 -4
View File
@@ -114,10 +114,10 @@ cleanpath_strip_prefix :: proc(buf: []u16) -> []u16 {
buf = buf[:N];
if len(buf) >= 4 {
if buf[0] == '\\'
&& buf[1] == '\\'
&& buf[2] == '?'
&& buf[3] == '\\' {
if buf[0] == '\\' &&
buf[1] == '\\' &&
buf[2] == '?' &&
buf[3] == '\\' {
buf = buf[4:];
}
}