Compile breakpoints for functions whose name begins with a '$'.

[COMPILER]
* BUG: Compile breakpoints for functions whose name begins with a '$'.
This commit is contained in:
gambas 2017-09-26 01:49:57 +02:00
parent 0a95709974
commit 65c83f1407

View file

@ -547,7 +547,7 @@ void TRANS_code(void)
printf("Compiling %s()...\n", TABLE_get_symbol_name(JOB->class->table, func->name)); printf("Compiling %s()...\n", TABLE_get_symbol_name(JOB->class->table, func->name));
/* Do not debug implicit or generated functions */ /* Do not debug implicit or generated functions */
if (!func->start || func->name == NO_SYMBOL || TABLE_get_symbol_name(JOB->class->table, func->name)[0] == '$') if (!func->start || func->name == NO_SYMBOL || TABLE_get_symbol_name(JOB->class->table, func->name)[0] == '@')
JOB->nobreak = TRUE; JOB->nobreak = TRUE;
else else
JOB->nobreak = FALSE; JOB->nobreak = FALSE;