allow _ as silence

This commit is contained in:
Felix Roos 2025-06-18 21:36:34 +02:00
parent 28cd7c1681
commit c751bb7e5f
No known key found for this signature in database
3 changed files with 4 additions and 2 deletions

View file

@ -20,7 +20,8 @@ export class MondoParser {
open_curly: /^\{/,
close_curly: /^\}/,
number: /^-?[0-9]*\.?[0-9]+/, // before pipe!
op: /^[*/:!@%?+-]|^\.{2}/, // * / : ! @ % ? ..
// "+" and "-" might be added here, but then "-" won't work as silence anymore..
op: /^[*/:!@%?]|^\.{2}/, // * / : ! @ % ? ..
// dollar: /^\$/,
pipe: /^#/,
stack: /^[,$]/,