From 72d720c6468596f6beb4d2606af6df71d7a5e12d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sun, 13 Feb 2000 20:29:33 +0100
Subject: [PATCH] Minor bugfix.

Rev: lib/modules/LR.pmod/parser.pike:1.21
---
 lib/modules/LR.pmod/parser.pike | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/modules/LR.pmod/parser.pike b/lib/modules/LR.pmod/parser.pike
index a95da3d682..f379e981b6 100644
--- a/lib/modules/LR.pmod/parser.pike
+++ b/lib/modules/LR.pmod/parser.pike
@@ -1,5 +1,5 @@
 /*
- * $Id: parser.pike,v 1.20 1999/10/10 00:49:11 noring Exp $
+ * $Id: parser.pike,v 1.21 2000/02/13 19:29:33 grubba Exp $
  *
  * A BNF-grammar in Pike.
  * Compiles to a LALR(1) state-machine.
@@ -9,7 +9,7 @@
 
 //.
 //. File:	parser.pike
-//. RCSID:	$Id: parser.pike,v 1.20 1999/10/10 00:49:11 noring Exp $
+//. RCSID:	$Id: parser.pike,v 1.21 2000/02/13 19:29:33 grubba Exp $
 //. Author:	Henrik Grubbstr�m (grubba@infovav.se)
 //.
 //. Synopsis:	LALR(1) parser and compiler.
@@ -432,7 +432,7 @@ mixed cast(string type)
   if (type == "string") {
     return(cast_to_string());
   }
-  throw ( ({ "Cast to "+type+" not supported\n", backtrace()[0..-2] }) );
+  error(sprintf("Cast to %s not supported\n", type));
 }
 
 /* Here come the functions that actually do some work */
-- 
GitLab