expand() before integer_content()
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Mon, 2 Aug 2004 19:55:06 +0000 (19:55 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Mon, 2 Aug 2004 19:55:06 +0000 (19:55 +0000)
ginsh/ginsh_parser.yy

index 2c99794..447d708 100644 (file)
@@ -406,7 +406,7 @@ static ex f_find(const exprseq &e)
 
 static ex f_integer_content(const exprseq &e)
 {
-       return e[0].integer_content();
+       return e[0].expand().integer_content();
 }
 
 static ex f_inverse(const exprseq &e)