On Wed Apr 12 15:40:36 2023 +0000, Giovanni Mascellani wrote:
I think there is the general sentiment that you should try to avoid aborting unless you really need. In this case it seems that you can just call `hlsl_error()` and return an empty list, so parsing can continue and other errors can be found in the same run.
I'm not going to argue that there isn't, but this is the first time I hear about this. In (most?) cases we have hlsl_error() followed by yyabort. Do you mean that we need some message before aborting, or that not all cases are the same, and aborting in some places is fine. Excluding oom case.