mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-12-19 04:40:19 +00:00
Auto-generate the AST.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
pork_module
|
||||
id("gay.pizza.pork.module")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -147,7 +147,7 @@ class Printer(buffer: StringBuilder) : NodeVisitor<Unit> {
|
||||
visit(node.right)
|
||||
}
|
||||
|
||||
override fun visitFunctionDeclaration(node: FunctionDefinition) {
|
||||
override fun visitFunctionDefinition(node: FunctionDefinition) {
|
||||
append("fn ")
|
||||
visit(node.symbol)
|
||||
append("(")
|
||||
|
||||
Reference in New Issue
Block a user