-
- Downloads
snc: add a name prefix for initialization helper vars
This fixes a bug that crept in when implementing the new variable initialization code for variables with global lifetime. The problem was that the initialization variable shadowed the global variable in non-reentrant mode, which made the initialization a no-op.
Showing
- src/snc/gen_code.c 1 addition, 1 deletionsrc/snc/gen_code.c
- src/snc/gen_code.h 1 addition, 0 deletionssrc/snc/gen_code.h
- src/snc/gen_ss_code.c 3 additions, 2 deletionssrc/snc/gen_ss_code.c
- src/snc/var_types.c 6 additions, 6 deletionssrc/snc/var_types.c
- src/snc/var_types.h 1 addition, 1 deletionsrc/snc/var_types.h
Loading
Please register or sign in to comment