You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Allow semicolon after 'pass' keyword
This commit is contained in:
@@ -1536,6 +1536,10 @@ void GDParser::_parse_block(BlockNode *p_block,bool p_static) {
|
||||
return;
|
||||
}
|
||||
tokenizer->advance();
|
||||
if(tokenizer->get_token()==GDTokenizer::TK_SEMICOLON) {
|
||||
// Ignore semicolon after 'pass'
|
||||
tokenizer->advance();
|
||||
}
|
||||
} break;
|
||||
case GDTokenizer::TK_PR_VAR: {
|
||||
//variale declaration and (eventual) initialization
|
||||
|
||||
Reference in New Issue
Block a user