History

Init global_expr variable

This is needed when errors occur when compiling with libtcc. A next compile with libtcc results in undefined symbol.

herman ten brugge committed 1 year ago

Commit edcd2281 parent 96229001 file · +1 −0Browse files

Unified · Split

tccgen.c+1−0
@@ -409,6 +409,7 @@ ST_FUNC int tccgen_compile(TCCState *s1) · 408 unmodified lines
409409 anon_sym = SYM_FIRST_ANOM;
410410 nocode_wanted = DATA_ONLY_WANTED; /* no code outside of functions */
411411 debug_modes = (s1->do_debug ? 1 : 0) | s1->test_coverage << 1;
412+ global_expr = 0;
412413
413414 tcc_debug_start(s1);
414415 tcc_tcov_start (s1);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t