[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] TinyCC REPL
From: |
Sergey Korshunoff |
Subject: |
Re: [Tinycc-devel] TinyCC REPL |
Date: |
Mon, 18 May 2015 13:21:17 +0300 |
Hello all
A some question:
========
* push a given symbol on the symbol stack */
ST_FUNC Sym *sym_push(int v, CType *type, int r, int c)
{
Sym *s, **ps;
TokenSym *ts;
#ifdef CONFIG_TCC_EXSYMTAB
v &= ~SYM_EXTENDED;
#endif
if (local_stack)
ps = &local_stack;
else {
#ifdef CONFIG_TCC_EXSYMTAB
/* Global symbol stack. This is OK for the local symbol stack,
but don't allow
* this for symbols that are in the extended symbol stack. */
if (v >= SYM_EXTENDED) {
tcc_error("Cannot use name '%s' as a global variable, it
is already in the "
"extended symbol table.", get_tok_str(v, 0));
}
#endif
ps = &global_stack;
}
========
v is integer and SYM_EXTENDED=0x40000000
When (v >= SYM_EXTENDED) can be true ?
Re: [Tinycc-devel] TinyCC REPL, Jared Maddox, 2015/05/14
Re: [Tinycc-devel] TinyCC REPL, Jared Maddox, 2015/05/15
- Re: [Tinycc-devel] TinyCC REPL,
Sergey Korshunoff <=
- Re: [Tinycc-devel] TinyCC REPL, David Mertens, 2015/05/18
- Re: [Tinycc-devel] TinyCC REPL, Sergey Korshunoff, 2015/05/18
- Re: [Tinycc-devel] TinyCC REPL, David Mertens, 2015/05/20
- Re: [Tinycc-devel] TinyCC REPL, Sergey Korshunoff, 2015/05/20
- Re: [Tinycc-devel] TinyCC REPL, grischka, 2015/05/20