final receipt update
This commit is contained in:
@@ -254,6 +254,9 @@ public class Parser
|
||||
private RowNode ParseRow()
|
||||
{
|
||||
var rowToken = Current;
|
||||
var styles = string.IsNullOrWhiteSpace(rowToken.Value)
|
||||
? Array.Empty<string>()
|
||||
: rowToken.Value.Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries);
|
||||
Advance(); // consume @row
|
||||
SkipNewlines();
|
||||
|
||||
@@ -300,7 +303,7 @@ public class Parser
|
||||
AddError("Expected @endrow to close @row block", Current.Position);
|
||||
}
|
||||
|
||||
return new RowNode(columns, rowToken.Position);
|
||||
return new RowNode(columns, styles, rowToken.Position);
|
||||
}
|
||||
|
||||
private ColumnNode ParseColumnDef()
|
||||
|
||||
Reference in New Issue
Block a user