Add experimental -insert-semicolon functionality to tokenizer and parser
This commit is contained in:
1 parent
75e8e5e06f
commit
54fbdabc38
11 files changed
+2253
-42
No files matched your search
@@ -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:];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user