summaryrefslogtreecommitdiff
path: root/std.zc
diff options
context:
space:
mode:
authorrwusmm <nowayyreal@gmail.com>2026-01-29 17:21:20 +0200
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-31 16:00:00 +0000
commit64c2bf1abc85fd5f5cbcb2a8491849663b37f98d (patch)
tree89f517cf1a7deab308ae06992406e92162693f90 /std.zc
parentaced94a89dd732d8ae8fddd27de9e1f1094c449a (diff)
Improved codegen as much as i could
Fixed buffer overflows by replacing sprintf with snprintf in error handling Added memory cleanup for dynamically allocated strings (free t1, type, inferred, etc.) Removed duplicate code in the comparison logic for string pointers Improved error messages with better formatting and safer string handling Consolidated conditions in the member access logic for better readability Fixed potential memory leaks by freeing allocated suffix strings Removed redundant comments and optimized loop structures Better type checking with proper null terminator handling (ptr = '\0' instead ofptr = 0) Safer string operations with proper bounds checking
Diffstat (limited to 'std.zc')
0 files changed, 0 insertions, 0 deletions