mirror of
https://github.com/Theaninova/BeatMapLanguage.git
synced 2025-12-11 00:26:14 +00:00
Comments are now working
This commit is contained in:
@@ -173,6 +173,7 @@ class Interpreter(val code: String) {
|
||||
jumpSpaces()
|
||||
while (code[pos] != key_closing_bracket) {
|
||||
if (code[pos] == key_comment) {
|
||||
pos++
|
||||
gotoNext(key_comment)
|
||||
} else if (code[pos] == key_pattern) {
|
||||
pos++
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
Cube (1.5, 2, 3,)
|
||||
Cube (2.0, 5, 3,)
|
||||
|
||||
test_two ()
|
||||
|
||||
<- 2.0
|
||||
}
|
||||
|
||||
@@ -16,6 +18,8 @@
|
||||
|
||||
_x = ?test ()
|
||||
|
||||
|
||||
§Simple Pattern Creation§
|
||||
!24.6:false:_x {
|
||||
_e = [ ?test () + 1.0 ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user