comment here
This commit is contained in:
parent
ea75f19804
commit
57097d6779
1 changed files with 2 additions and 2 deletions
|
@ -466,7 +466,7 @@ lex_scan(LexState *ls)
|
|||
//trace("fwd: <%s>\n", ls->fwd);
|
||||
switch (c.val) {
|
||||
case '!':
|
||||
if (peek(ls) == '=') {
|
||||
if (peek(ls) == '=') { /* != */
|
||||
token.id = T_NOTEQUAL;
|
||||
next(ls);
|
||||
} else {
|
||||
|
@ -490,7 +490,7 @@ lex_scan(LexState *ls)
|
|||
TOKEN('{', T_LBRACE)
|
||||
TOKEN('}', T_RBRACE)
|
||||
case '=':
|
||||
if (peek(ls) == '=') {
|
||||
if (peek(ls) == '=') { /* == */
|
||||
token.id = T_LOGICEQUAL;
|
||||
next(ls);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue