mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
netlist: Fix crash in infix function evaluation. (nw)
This commit is contained in:
parent
2b7c6af9ef
commit
2742727a0b
@ -211,7 +211,7 @@ namespace plib {
|
||||
}
|
||||
else if (p == 0) // Function or variable
|
||||
{
|
||||
if (sexpr[i+1] == "(")
|
||||
if ((i+1<sexpr.size()) && sexpr[i+1] == "(")
|
||||
opstk.push(s);
|
||||
else
|
||||
postfix.push_back(s);
|
||||
|
Loading…
Reference in New Issue
Block a user