meta parser better file line reporting
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
fn void mt_ui_colors(ma_arena_t *arena, sb8_t *c, sb8_t *h) {
|
||||
ast_t *table = mtt_parse(arena, __FILE__, S8_CODE(
|
||||
ast_t *table = mtt_parse(arena, FILE_AND_LINE, S8_CODE(
|
||||
{ name color }
|
||||
{ rect `v4f32_hsla_to_rgba((v4f32_t){0.0f, 0.2f, 0.95f, 1.0f})` }
|
||||
{ rect_hot `v4f32_hsla_to_rgba((v4f32_t){0.0f, 0.5f, 0.95f, 1.0f})` }
|
||||
@@ -31,7 +31,7 @@ fn void mt_ui_colors(ma_arena_t *arena, sb8_t *c, sb8_t *h) {
|
||||
}
|
||||
|
||||
fn void mt_ui_stacks(ma_arena_t *arena, sb8_t *c, sb8_t *h) {
|
||||
ast_t *table = mtt_parse(arena, __FILE__, S8_CODE(
|
||||
ast_t *table = mtt_parse(arena, FILE_AND_LINE, S8_CODE(
|
||||
// skip = don't include in ui_box_t as field
|
||||
{ type name skip init }
|
||||
{ ui_id_t id 1 `ui_idf("root")` }
|
||||
|
||||
Reference in New Issue
Block a user