|
|
@ -33,8 +33,9 @@ namespace lel { |
|
|
|
number = digit+ >{ start = fpc; } %token; |
|
|
|
number = digit+ >{ start = fpc; } %token; |
|
|
|
setw = ("(" number %setwidth ("," number %setheight)? ")") ; |
|
|
|
setw = ("(" number %setwidth ("," number %setheight)? ")") ; |
|
|
|
modifiers = (percent | center | expand | valign | halign | setw); |
|
|
|
modifiers = (percent | center | expand | valign | halign | setw); |
|
|
|
id = modifiers* ((alpha | '_')+ :>> (alnum | '_')*) >{start = fpc;} %id; |
|
|
|
id = ((alpha | '_')+ :>> (alnum | '_')*) >{start = fpc;} %id; |
|
|
|
row = space* ltab space* id space* (col space* id space*)* space* rtab space*; |
|
|
|
cell = modifiers* id; |
|
|
|
|
|
|
|
row = space* ltab space* cell space* (col space* cell space*)* space* rtab space*; |
|
|
|
|
|
|
|
|
|
|
|
main := row+; |
|
|
|
main := row+; |
|
|
|
}%% |
|
|
|
}%% |
|
|
|