Make the sfml parts a separate dependency so you can use them if you want.

This commit is contained in:
Zed A. Shaw 2025-05-16 10:31:04 -04:00
parent de0d957c66
commit b7c49711b6
4 changed files with 47 additions and 31 deletions

View file

@ -31,7 +31,7 @@ namespace lel {
percent = "%" $percent;
halign = ("<" | ">") $align;
number = digit+ >{ start = fpc; } %token;
setw = ("(" number %setwidth ("," number %setheight)? ")") ;
setw = ("(" number %setwidth ("," space* number %setheight)? ")") ;
modifiers = (percent | center | expand | valign | halign | setw);
id = ((alpha | '_')+ :>> (alnum | '_')*) >{start = fpc;} %id;
cell = modifiers* id;