Lines Matching refs:cur_symbol
68 static symbol_t *cur_symbol; variable
316 cur_symbol = $1;
317 cur_symbol->type = cur_symtype;
318 initialize_symbol(cur_symbol);
327 if (cur_symbol->info.rinfo->valid_bitmask == 0)
328 cur_symbol->info.rinfo->valid_bitmask = 0xFF;
330 if (cur_symbol->info.rinfo->size == 0)
331 cur_symbol->info.rinfo->size = 1;
336 if (cur_symbol->type != REGISTER) {
337 if (cur_symbol->info.rinfo->address == 0)
338 cur_symbol->info.rinfo->address =
341 cur_symbol->info.rinfo->size;
343 cur_symbol = NULL;
374 cur_symbol->info.rinfo->address = $2;
381 cur_symbol->info.rinfo->size = $2;
388 sym_max_addr = cur_symbol->info.rinfo->address
389 + cur_symbol->info.rinfo->size;
400 cur_symbol->count += $2;
407 cur_symbol->info.rinfo->mode = $2;
414 cur_symbol->dont_generate_debug_code = 1;
421 cur_symbol->info.rinfo->modes = $2;
541 $2->info.ainfo->parent = cur_symbol;
553 accumulator.symbol = cur_symbol;
565 mode_ptr.symbol = cur_symbol;
577 allones.symbol = cur_symbol;
589 allzeros.symbol = cur_symbol;
601 none.symbol = cur_symbol;
613 sindex.symbol = cur_symbol;
770 cur_symbol = $2;
771 cur_symbol->type = MACRO;
772 initialize_symbol(cur_symbol);
784 cur_symbol->info.macroinfo->narg = $3;
815 cur_symbol = symtable_get(SRAM_SYMNAME);
817 cur_symbol->type = SRAMLOC;
818 initialize_symbol(cur_symbol);
819 cur_symbol->count += 1;
823 sram_or_scb_offset = cur_symbol->info.rinfo->address;
827 scb_or_sram_symbol = cur_symbol;
832 cur_symbol = NULL;
840 cur_symbol = symtable_get(SCB_SYMNAME);
842 if (cur_symbol->type != UNINITIALIZED) {
847 cur_symbol->type = SCBLOC;
848 initialize_symbol(cur_symbol);
850 cur_symbol->info.rinfo->size = 64;
851 cur_symbol->count += 1;
855 sram_or_scb_offset = cur_symbol->info.rinfo->address;
859 scb_or_sram_symbol = cur_symbol;
864 cur_symbol = NULL;
1456 cur_symbol->name) != NULL) {
1460 symlist_add(&(sym->info.finfo->symrefs), cur_symbol,
1462 cur_symbol->info.rinfo->valid_bitmask |= sym->info.finfo->mask;
1463 cur_symbol->info.rinfo->typecheck_masks = TRUE;
1464 symlist_add(&(cur_symbol->info.rinfo->fields), sym, SYMLIST_SORT);
1579 if (cur_symbol == NULL || cur_symbol->type != MACRO) { in add_macro_arg()
1604 STAILQ_INSERT_TAIL(&cur_symbol->info.macroinfo->args, marg, links); in add_macro_arg()
1610 if (cur_symbol == NULL || cur_symbol->type != MACRO) { in add_macro_body()
1615 cur_symbol->info.macroinfo->body = strdup(bodytext); in add_macro_body()
1616 if (cur_symbol->info.macroinfo->body == NULL) { in add_macro_body()