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