mirror of
https://github.com/PashaBibko/LX.git
synced 2026-12-02 22:07:39 +00:00
Allowed multiple functions + non "main" functions
Also fixed a bug in the lexer and changed how AST is logged.
This commit is contained in:
1 parent
794173e14f
commit
050eeb5a53
6 files changed
+56
-14
No files matched your search
@@ -1,3 +1,8 @@
|
||||
func add(int a, int b)
|
||||
{
|
||||
return a + b
|
||||
}
|
||||
|
||||
func main()
|
||||
{
|
||||
int a
|
||||
|
||||
Reference in new issue
Block a user