diff --git a/source/tlang/compiler/parser.d b/source/tlang/compiler/parser.d index f3afa26..6587774 100644 --- a/source/tlang/compiler/parser.d +++ b/source/tlang/compiler/parser.d @@ -276,6 +276,13 @@ public final class Parser gprintln("parseBody(): Leave", DebugType.WARNING); } + + private void parseFunctionArguments() + { + /* TODO: Use later */ + /* TODO: Add support for default values for function arguments */ + } + private void parseFuncDef() { gprintln("parseFuncDef(): Enter", DebugType.WARNING); diff --git a/source/tlang/testing/basic1.t b/source/tlang/testing/basic1.t index 57a780f..b1d877f 100644 --- a/source/tlang/testing/basic1.t +++ b/source/tlang/testing/basic1.t @@ -88,6 +88,12 @@ class clazz_2_1 : bruh void main(int hello, byte d) { + + void bruh() + { + + } + ubyte thing = "Hello"; print("Hello world"); print(1+1); @@ -174,5 +180,8 @@ void k(int j, int k) } } - +void bruh() + { + + }