(resolve_expression): If the value of PLIST is a plist,
authorhanda <handa>
Wed, 25 Jan 2006 01:18:20 +0000 (01:18 +0000)
committerhanda <handa>
Wed, 25 Jan 2006 01:18:20 +0000 (01:18 +0000)
but the first element is not symbol, return 0.

src/input.c

index 54f410f..1bdf74a 100644 (file)
@@ -657,7 +657,7 @@ resolve_expression (MInputContext *ic, MPlist *plist)
     return 0;
   plist = MPLIST_PLIST (plist);
   if (! MPLIST_SYMBOL_P (plist))
-    return val;
+    return 0;
   op = MPLIST_SYMBOL (plist);
   plist = MPLIST_NEXT (plist);
   val = resolve_expression (ic, plist);