if (state != PropertyLookupParser.EXPECT_DOLLAR)
{
while (stack.isEmpty() == false)
{
final String columnName = result.toString();
result = (StringBuffer) stack.pop();
result.append(markerChar);
if (state != PropertyLookupParser.EXPECT_OPEN_BRACE)
{
result.append(openingBraceChar);
result.append(columnName);