1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Synchronize parameter names in definition and declaration

Fixes #10244.
This commit is contained in:
TwistedTwigleg
2017-08-11 15:10:05 -04:00
committed by Rémi Verschelde
parent b1ecaaa22b
commit 00f6c85928
134 changed files with 974 additions and 974 deletions

View File

@@ -911,7 +911,7 @@ static void _disassemble_class(const Ref<GDScript> &p_class, const Vector<String
}
}
MainLoop *test(TestType p_test) {
MainLoop *test(TestType p_type) {
List<String> cmdlargs = OS::get_singleton()->get_cmdline_args();
@@ -950,7 +950,7 @@ MainLoop *test(TestType p_test) {
}
}
if (p_test == TEST_TOKENIZER) {
if (p_type == TEST_TOKENIZER) {
GDTokenizerText tk;
tk.set_code(code);
@@ -993,7 +993,7 @@ MainLoop *test(TestType p_test) {
}
}
if (p_test == TEST_PARSER) {
if (p_type == TEST_PARSER) {
GDParser parser;
Error err = parser.parse(code);
@@ -1010,7 +1010,7 @@ MainLoop *test(TestType p_test) {
_parser_show_class(cnode, 0, lines);
}
if (p_test == TEST_COMPILER) {
if (p_type == TEST_COMPILER) {
GDParser parser;
@@ -1044,7 +1044,7 @@ MainLoop *test(TestType p_test) {
current = current->get_base();
}
} else if (p_test == TEST_BYTECODE) {
} else if (p_type == TEST_BYTECODE) {
Vector<uint8_t> buf = GDTokenizerBuffer::parse_code_string(code);
String dst = test.get_basename() + ".gdc";
@@ -1073,7 +1073,7 @@ MainLoop *test(TestType p_test) {
namespace TestGDScript {
MainLoop *test(TestType p_test) {
MainLoop *test(TestType p_type) {
return NULL;
}