mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r26835) -Fix [Squirrel]: remove dead code from the lexer
This commit is contained in:
parent
fef12f24dd
commit
5502a19f3d
2
src/3rdparty/squirrel/squirrel/sqlexer.cpp
vendored
2
src/3rdparty/squirrel/squirrel/sqlexer.cpp
vendored
@ -156,11 +156,9 @@ SQInteger SQLexer::Lex()
|
||||
case '=':
|
||||
NEXT();
|
||||
RETURN_TOKEN(TK_DIVEQ);
|
||||
continue;
|
||||
case '>':
|
||||
NEXT();
|
||||
RETURN_TOKEN(TK_ATTR_CLOSE);
|
||||
continue;
|
||||
default:
|
||||
RETURN_TOKEN('/');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user