fix: lint errors

This commit is contained in:
Felix Roos
2025-03-15 10:35:22 +01:00
parent 62705da3de
commit dbe3915368
+6 -6
View File
@@ -8,18 +8,18 @@ This program is free software: you can redistribute it and/or modify it under th
export class UzuParser {
// these are the tokens we expect
token_types = {
string: /^\"(.*?)\"/,
string: /^"(.*?)"/,
open_list: /^\(/,
close_list: /^\)/,
open_cat: /^\</,
close_cat: /^\>/,
open_cat: /^</,
close_cat: /^>/,
open_seq: /^\[/,
close_seq: /^\]/,
number: /^[0-9]*\.?[0-9]+/, // before pipe!
pipe: /^\./,
stack: /^\,/,
op: /^[\*\/]/,
plain: /^[a-zA-Z0-9\-]+/,
stack: /^,/,
op: /^[*/]/,
plain: /^[a-zA-Z0-9-]+/,
};
// matches next token
next_token(code) {