Commit Graph
1 Commits
Author SHA1 Message Date
Taylor Rose 23263881e0 fix: increase error label buffer to avoid compiler warning on long tokens
The previous fixed-size buffer `ERROR_MESSAGE_SIZE` could trigger a compiler warning
about truncation when formatting error labels with maximum-length variable names.
The new buffer size `10 + MAX_VARIABLE_NAME + 4 + 1` precisely accommodates the
format string "Error at '...'" plus the longest possible token name and null terminator,
eliminating the false positive warning on line 449.
2018-10-31 20:42:02 +00:00