break;
case 's':
if (matches (begin, "self")) return TokenType.THIS;
- break;
+ break;
case 't':
if (matches (begin, "true")) return TokenType.TRUE;
break;
break;
case 's':
if (matches (begin, "async")) return TokenType.ASYNC;
- break;
+ break;
}
break;
case 'b':
break;
case 'o':
if (matches (begin, "owned")) return TokenType.OWNED;
- break;
+ break;
case 'p':
if (matches (begin, "print")) return TokenType.PRINT;
break;
switch (begin[0]) {
case 'i':
if (matches (begin, "implements")) return TokenType.IMPLEMENTS;
- break;
+ break;
}
break;
}
}
if ((_indent_spaces == 0 ) || (last_token != TokenType.EOL)) {
- /* scrub whitespace (excluding newlines) and comments */
+ /* scrub whitespace (excluding newlines) and comments */
space ();
}
last_token = TokenType.EOL;
return TokenType.EOL;
- }
+ }
while (skip_newlines ()) {
/* if its an empty new line then ignore */
if (current_indent_level == -1) {
continue;
- }
+ }
if (current_indent_level > indent_level) {
indent_level = current_indent_level;