mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fixed warnings and some style issues
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
@@ -354,14 +354,14 @@ ULONG yylex(void)
|
||||
|
||||
s = pLexBuffer;
|
||||
nOldFloatMask = nFloatLen = 0;
|
||||
nFloatMask = tFloatingFirstChar[*s++];
|
||||
nFloatMask = tFloatingFirstChar[(int) *s++];
|
||||
while (nFloatMask && nFloatLen < nLexBufferLeng) {
|
||||
nFloatLen += 1;
|
||||
nOldFloatMask = nFloatMask;
|
||||
if (nFloatLen == 1)
|
||||
nFloatMask &= tFloatingSecondChar[*s++];
|
||||
nFloatMask &= tFloatingSecondChar[(int) *s++];
|
||||
else
|
||||
nFloatMask &= tFloatingChars[*s++];
|
||||
nFloatMask &= tFloatingChars[(int) *s++];
|
||||
}
|
||||
|
||||
maxlen = nLexBufferLeng;
|
||||
|
||||
Reference in New Issue
Block a user