mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-03 17:39:02 +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,3 +1,8 @@
|
||||
func add(int a, int b)
|
||||
{
|
||||
return a + b
|
||||
}
|
||||
|
||||
func main()
|
||||
{
|
||||
int a
|
||||
|
||||
Reference in New Issue
Block a user