21 Mar
2023
21 Mar
'23
2:40 p.m.
Here and to some extent above, I don't think we can just print "\*line"; there may be additional data beyond "rest" that we'd also output.
This is already happening in various other places. See for example how the `probe` command is parsed. I guess the point of view is that the shader runner is a developer-facing tool, so we prefer a simpler code even if it results in somewhat less polished error messages.
I suppose, but I don't think it's that much more complicated to instead do something like ```c fatal_error("Out of range integer constant '%.*s'.\n", (int)(rest - *line), *line); ``` -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/129#note_27410