Browse Source

add ATEQUAL checking

master
Brett Langdon 10 years ago
parent
commit
438e5d1d4a
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      scanner/helpers.go

+ 6
- 0
scanner/helpers.go View File

@ -116,6 +116,12 @@ func GetTwoCharTokenID(curChar rune, nextChar rune) token.TokenID {
return token.CIRCUMFLEXEQUAL
}
break
case '@':
switch nextChar {
case '=':
return token.ATEQUAL
}
break
}
return token.OP
}


Loading…
Cancel
Save