Create bcheck region for argv and arge argument
commitb125743323f92b3492634cd875be820c890d5f29
authorThomas Preud'homme <robotux@celest.fr>
Sat, 29 Mar 2014 06:28:02 +0000 (29 14:28 +0800)
committerThomas Preud'homme <robotux@celest.fr>
Sat, 29 Mar 2014 06:46:26 +0000 (29 14:46 +0800)
tree04a1ce3cdd3ce252b2aa22eabbd75d2c0cc0934a
parent9a6ee577f6165dccfde424732bfc6f16f1e2811b
Create bcheck region for argv and arge argument

For program manipulating argv or arge as pointer with construct such as:

(while *argv++) {
  do_something_with_argv;
}

it is necessary to have argv and arge inside a region. This patch create
regions argv and arge) if main is declared with those parameters.
lib/bcheck.c
tccgen.c
tcctok.h