From 6ab9c3732793b6fd40e6388cf1b08756194c0ea6 Mon Sep 17 00:00:00 2001 From: Quinn Stephens Date: Thu, 7 Nov 2024 16:59:19 -0500 Subject: [compiler] Parse return statements Laid groundwork for statements and AST trees. Currently return values are not supported, expression parsing must be implemented first. Also stopped dumping parsed type definitions. Signed-off-by: Quinn Stephens --- test.q | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test.q') diff --git a/test.q b/test.q index 0769752..4b9a944 100644 --- a/test.q +++ b/test.q @@ -48,4 +48,7 @@ type EfiSystemTable: struct { EfiConfigurationTable *configurationTable; } -proc efiEntry(EfiHandle imageHandle, EfiSystemTable *systemTable) -> EfiStatus; +proc efiEntry(EfiHandle imgHandle, EfiSystemTable *sysTable) -> EfiStatus +{ + ret; +} -- cgit v1.2.3