cvsuser 03/07/02 16:09:24
Modified: languages/jako/lib/Jako/Construct/Declaration Sub.pm
Log:
* Fixed a sub call that was supposed to be a method call.
Revision Changes Path
1.6 +2 -2 parrot/languages/jako/lib/Jako/Construct/Declaration/Sub.pm
Index: Sub.pm
===================================================================
RCS file: /cvs/public/parrot/languages/jako/lib/Jako/Construct/Declaration/Sub.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -r1.5 -r1.6
--- Sub.pm 3 Feb 2003 11:49:02 -0000 1.5
+++ Sub.pm 2 Jul 2003 23:09:24 -0000 1.6
@@ -5,7 +5,7 @@
# This program is free software. It is subject to the same license
# as the Parrot interpreter.
#
-# $Id: Sub.pm,v 1.5 2003/02/03 11:49:02 gregor Exp $
+# $Id: Sub.pm,v 1.6 2003/07/02 23:09:24 gregor Exp $
#
use strict;
@@ -72,7 +72,7 @@
#
if (defined $sym) {
- SYNTAX_ERROR("Redeclaration of identifier '%s'. Previous declaration on line %d
of file '%s'.",
+ $self->SYNTAX_ERROR("Redeclaration of identifier '%s'. Previous declaration on
line %d of file '%s'.",
$self->name, $sym->line, $sym->file);
}