support colon sign as normal char

This commit is contained in:
Felix Roos 2022-06-27 00:02:33 +02:00
parent 39c2cf6c72
commit a89fa766ea
2 changed files with 165 additions and 159 deletions

View file

@ -87,7 +87,7 @@ quote = '"' / "'"
// ------------------ steps and cycles ---------------------------
// single step definition (e.g bd)
step_char = [0-9a-zA-Z~] / "-" / "#" / "." / "^" / "_"
step_char = [0-9a-zA-Z~] / "-" / "#" / "." / "^" / "_" / ":"
step = ws chars:step_char+ ws { return chars.join("") }
// define a sub cycle e.g. [1 2, 3 [4]]