Fixed parser/tests

This commit is contained in:
Justin Greywolf
2023-12-18 06:27:10 -08:00
parent a71bdbd2bb
commit c5220bd92d
3 changed files with 3 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ export const cleanupLabel = function (label: string) {
}; };
/** /**
* Called by parser when a special node is found, e.g. a clickable element. * Called by parser when assigning cssClass to a class
* *
* @param ids - Comma separated list of ids * @param ids - Comma separated list of ids
* @param className - Class to add * @param className - Class to add

View File

@@ -409,6 +409,7 @@ class C13["With Città foreign language"]
}, },
], ],
"methods": [], "methods": [],
"styles": [],
"type": "", "type": "",
} }
`); `);

View File

@@ -377,7 +377,7 @@ styleStatement
; ;
cssClassStatement cssClassStatement
: CSSCLASS STR stylesOpt {yy.setCssClass($2, $3);} : CSSCLASS STR ALPHA {yy.setCssClass($2, $3);}
; ;
stylesOpt stylesOpt