diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2014-03-29 14:28:02 +0800 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2014-03-29 14:46:26 +0800 |
| commit | b125743323f92b3492634cd875be820c890d5f29 (patch) | |
| tree | 04a1ce3cdd3ce252b2aa22eabbd75d2c0cc0934a /tcctok.h | |
| parent | 9a6ee577f6165dccfde424732bfc6f16f1e2811b (diff) | |
| download | tinycc-b125743323f92b3492634cd875be820c890d5f29.tar.gz tinycc-b125743323f92b3492634cd875be820c890d5f29.tar.bz2 | |
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.
Diffstat (limited to 'tcctok.h')
| -rw-r--r-- | tcctok.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -237,6 +237,7 @@ DEF(TOK___bound_ptr_indir8, "__bound_ptr_indir8") DEF(TOK___bound_ptr_indir12, "__bound_ptr_indir12") DEF(TOK___bound_ptr_indir16, "__bound_ptr_indir16") + DEF(TOK___bound_main_arg, "__bound_main_arg") DEF(TOK___bound_local_new, "__bound_local_new") DEF(TOK___bound_local_delete, "__bound_local_delete") # ifdef TCC_TARGET_PE |
