From c296d242e0265cc2a09378a9086c2f5878abbb26 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 25 Jan 2006 01:18:20 +0000 Subject: [PATCH] (resolve_expression): If the value of PLIST is a plist, but the first element is not symbol, return 0. --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.c b/src/input.c index 54f410f..1bdf74a 100644 --- a/src/input.c +++ b/src/input.c @@ -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); -- 1.7.10.4