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

re-write map.v and update the compiler

This commit is contained in:
Alexander Medvednikov
2019-07-14 11:01:32 +02:00
parent 9a3baf5609
commit f7dbbf5810
8 changed files with 226 additions and 138 deletions

View File

@ -344,7 +344,7 @@ fn (s mut Scanner) scan() ScanRes {
case `|`:
if nextc == `|` {
s.pos++
return scan_res(.ortok, '')
return scan_res(.logical_or, '')
}
if nextc == `=` {
s.pos++