diff options
author | Marvin Borner | 2019-08-14 23:58:10 +0200 |
---|---|---|
committer | Marvin Borner | 2019-08-14 23:58:10 +0200 |
commit | 8039d51f78f7a1cb0acc74a3e8f09d4a522cf6f2 (patch) | |
tree | f046eba3415f8385b0d20f54131c7ddf549959d5 /src/runMain/kotlin/Syntax.kt | |
parent | 46f00834b7c11c35bda6857aeaefefe5c81bb5cc (diff) |
Added ending of statements via ;
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 |