diff options
Diffstat (limited to 'src/runMain/kotlin/Syntax.kt')
-rw-r--r-- | src/runMain/kotlin/Syntax.kt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/runMain/kotlin/Syntax.kt b/src/runMain/kotlin/Syntax.kt index 3b8cfc8..901b8d8 100644 --- a/src/runMain/kotlin/Syntax.kt +++ b/src/runMain/kotlin/Syntax.kt @@ -1,8 +1,6 @@ class Syntax { - fun check(tokens: MutableList<Pair<String, TokenType>>): Boolean { - for (token in tokens) { - print(token) - } + fun check(statements: MutableList<MutableList<Pair<String, TokenType>>>): Boolean { + print(statements) return true } }
\ No newline at end of file |