This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
gython
mirror of
https://github.com/brettlangdon/gython.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
add ATEQUAL checking
master
Brett Langdon
10 years ago
parent
a7a729f579
commit
438e5d1d4a
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
}
Write
Preview
Loading…
Cancel
Save