Allow curly brace block for faultdef
I desire my faultdefs to allow being both a comma-delimited list and a brace list (like an enum)
```
faultdef OUT_OF_MEMORY,
INVALID_FREE,
MISALIGNED,
INVALID_RANGE,
NODE_POOL_EXHAUSTED;
```
And
```
faultdef
{
OUT_OF_MEMORY,
INVALID_FREE,
MISALIGNED,
INVALID_RANGE,
NODE_POOL_EXHAUSTED
}
```
Should be mutually exclusive.
<img width="411" height="605" alt="Image" src="https://github.com/user-attachments/assets/cdc3d16c-0330-422d-910b-bdbd429b220a" />
<img width="866" height="927" alt="Image" src="https://github.com/user-attachments/assets/b6e88b19-56f4-4f66-bba1-3d19af88749a" />
As you can see by the above screenshots, it does get pretty ugly the more faults you declare.
0 条评论