You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Failed to build PBO:
Failed to parse config:
In line addons/weapon_sniper_c/config.cpp:19:
class CfgSoundShaders {
^
Unexpected token "", expected: "delete", "[a-zA-Z0-9_]", "class"
The Failed to build PBO: with the colon at the end is very confusing, as one expects to read the PBO name there. However that is a job of whatever is using/calling armake2. Same goes for further lines until the actual source.
An idea would be to prepend those with a number, it's supposed to be kind of a stack trace if I understand the meaning of this form of error output, numbers like Rust's backtrace would be ideal. And obviously no colons in that case.
It's also self-explanatory that PBO failed to build if you have a red error which also tells you what what exactly failed (parsing, binarizing... etc.).
The text was updated successfully, but these errors were encountered:
I removed some of the more general top-level error messages, but I think the error system needs an overhaul anyways. Rust has the tools to build a proper Error stack, which would be more useful when using armake as a library as well.
Example:
The
Failed to build PBO:
with the colon at the end is very confusing, as one expects to read the PBO name there. However that is a job of whatever is using/calling armake2. Same goes for further lines until the actual source.An idea would be to prepend those with a number, it's supposed to be kind of a stack trace if I understand the meaning of this form of error output, numbers like Rust's backtrace would be ideal. And obviously no colons in that case.
It's also self-explanatory that PBO failed to build if you have a red error which also tells you what what exactly failed (parsing, binarizing... etc.).
The text was updated successfully, but these errors were encountered: