Merge pull request #29678 from akien-mga/err-macros-semicolon
Fix error macro calls not ending with semicolon
This commit is contained in:
commit
4043c8a8c9
52 changed files with 103 additions and 104 deletions
|
|
@ -342,7 +342,7 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
|||
VALIDATE_ARG_NUM(0);
|
||||
r_ret = Math::step_decimals((double)*p_args[0]);
|
||||
ERR_EXPLAIN("GDScript method 'decimals' is deprecated and has been renamed to 'step_decimals', please update your code accordingly.");
|
||||
WARN_DEPRECATED
|
||||
WARN_DEPRECATED;
|
||||
} break;
|
||||
case MATH_STEP_DECIMALS: {
|
||||
VALIDATE_ARG_COUNT(1);
|
||||
|
|
|
|||
|
|
@ -4025,7 +4025,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
|||
|
||||
if (tokenizer->get_token() == GDScriptTokenizer::TK_PARENTHESIS_CLOSE) {
|
||||
ERR_EXPLAIN("Exporting bit flags hint requires string constants.");
|
||||
WARN_DEPRECATED
|
||||
WARN_DEPRECATED;
|
||||
break;
|
||||
}
|
||||
if (tokenizer->get_token() != GDScriptTokenizer::TK_COMMA) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue