@xnoxs/flux-lang 3.5.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -298,7 +298,7 @@ class CssPreprocessor {
298
298
  const charAfter = (this.src[(this.pos + 3)] ?? "");
299
299
  if ((!/[a-zA-Z0-9_]/.test(charBefore) && !/[a-zA-Z0-9_]/.test(charAfter))) {
300
300
  let j = (this.pos + 3);
301
- while (((j < this.src.length) && ((((this.src[j] == " ") || (this.src[j] == "\t")) || (this.src[j] == "\n")) || (this.src[j] == "\\r")))) {
301
+ while (((j < this.src.length) && ((((this.src[j] == " ") || (this.src[j] == "\t")) || (this.src[j] == "\n")) || (this.src[j] == "\r")))) {
302
302
  j = (j + 1);
303
303
  }
304
304
  if ((this.src[j] == "{")) {
@@ -43,7 +43,7 @@ export val T = {
43
43
  export val TokenType = T
44
44
 
45
45
  val KEYWORDS = {
46
- "var": 'VAR', "val": 'VAL', "fn": 'FN', "return": 'RETURN',
46
+ "var": 'VAR', "val": 'VAL', "fn": 'FN', "return": 'RETURN', "declare": 'DECLARE',
47
47
  "if": 'IF', "else": 'ELSE', "for": 'FOR', "in": 'IN',
48
48
  "while": 'WHILE', "break": 'BREAK', "continue": 'CONTINUE', "do": 'DO',
49
49
  "class": 'CLASS', "extends": 'EXTENDS', "self": 'SELF', "new": 'NEW',