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);
|
//trace("fwd: <%s>\n", ls->fwd);
|
||||||
switch (c.val) {
|
switch (c.val) {
|
||||||
case '!':
|
case '!':
|
||||||
if (peek(ls) == '=') {
|
if (peek(ls) == '=') { /* != */
|
||||||
token.id = T_NOTEQUAL;
|
token.id = T_NOTEQUAL;
|
||||||
next(ls);
|
next(ls);
|
||||||
} else {
|
} else {
|
||||||
|
@ -490,7 +490,7 @@ lex_scan(LexState *ls)
|
||||||
TOKEN('{', T_LBRACE)
|
TOKEN('{', T_LBRACE)
|
||||||
TOKEN('}', T_RBRACE)
|
TOKEN('}', T_RBRACE)
|
||||||
case '=':
|
case '=':
|
||||||
if (peek(ls) == '=') {
|
if (peek(ls) == '=') { /* == */
|
||||||
token.id = T_LOGICEQUAL;
|
token.id = T_LOGICEQUAL;
|
||||||
next(ls);
|
next(ls);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue