1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: skip $if windows etc blocks on a different os

This commit is contained in:
Alexander Medvednikov
2019-11-13 21:14:37 +03:00
parent 3b929cdd03
commit 861f2d4bc0
2 changed files with 5 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ pub fn (_rune string) utf32_code() int {
for i := 1; i < _rune.len; i++ {
c := int(_rune[i])
res = res << shift
res |= c & 63 /* 0x3f */
res |= c & 63 // 0x3f
shift = 6
}
return res