Here's a new series that fixes PR 8888. The problem here is a name lookup bug in the C++ expression parser. The test case in the last patch shows it pretty well. This is a series now since I needed a few cleanups to extract the needed information from lookup_symbol. Tom