summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2012-11-04 13:55:43 +0000
committer cracyc <cracyc@users.noreply.github.com>2012-11-04 13:55:43 +0000
commitaa67b79340b59d0cef9e20f4c9cdf3bac9ef4aed (patch)
tree5c468db252c990128b9dcabc1444fb084c69e88b /src/emu/debug
parent2c5615d91c34aacdd28693337fe7d62fc499947f (diff)
make expression functions work (nw)
Diffstat (limited to 'src/emu/debug')
-rw-r--r--src/emu/debug/express.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/express.c b/src/emu/debug/express.c
index ac36701158a..b9a0b15276f 100644
--- a/src/emu/debug/express.c
+++ b/src/emu/debug/express.c
@@ -974,8 +974,8 @@ void parsed_expression::parse_symbol_or_number(parse_token &token, const char *&
// if this is a function symbol, synthesize an execute function operator
if (symbol->is_function())
{
- token = m_tokenlist.append(*global_alloc(parse_token(string - stringstart)));
- token.configure_operator(TVL_EXECUTEFUNC, 0);
+ parse_token &newtoken = m_tokenlist.append(*global_alloc(parse_token(string - stringstart)));
+ newtoken.configure_operator(TVL_EXECUTEFUNC, 0);
}
return;
}