aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/05_array.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2014-03-27 22:59:05 +0800
committerThomas Preud'homme <robotux@celest.fr>2014-03-29 14:46:26 +0800
commit9a6ee577f6165dccfde424732bfc6f16f1e2811b (patch)
tree01cc2ef73b2fb706f6b550106bf3f61388ff1575 /tests/tests2/05_array.c
parent5c233f2cf37a7bbf00b12df606f876c7275ef98f (diff)
downloadtinycc-9a6ee577f6165dccfde424732bfc6f16f1e2811b.tar.gz
tinycc-9a6ee577f6165dccfde424732bfc6f16f1e2811b.tar.bz2
Make get_tok_str support NULL as second param.
As was pointed out on tinycc-devel, many uses of get_tok_str gives as second parameter the value NULL. However, that pointer was unconditionally dereferenced in get_tok_ptr. This commit explicitely add support for thas case.
Diffstat (limited to 'tests/tests2/05_array.c')
0 files changed, 0 insertions, 0 deletions