Unified · Split
| @@ -4240,7 +4240,10 @@ static inline int *macro_twosharps(const int *macro_str) · 4239 unmodified lines | ||
| 4240 | 4240 | /* if number, then create a number token */ |
| 4241 | 4241 | /* NOTE: no need to allocate because |
| 4242 | 4242 | tok_str_add2() does it */ |
| 4243 | − tokc.cstr = &cstr; | |
| 4243 | + cstr_reset(&tokcstr); | |
| 4244 | + tokcstr = cstr; | |
| 4245 | + cstr_new(&cstr); | |
| 4246 | + tokc.cstr = &tokcstr; | |
| 4244 | 4247 | } else { |
| 4245 | 4248 | /* if identifier, we must do a test to |
| 4246 | 4249 | validate we have a correct identifier */ |