cvsuser 04/11/04 10:46:10
Modified: config/gen/makefiles root.in
src global_setup.c
Log:
Start initializing the subsystems
Revision Changes Path
1.257 +7 -1 parrot/config/gen/makefiles/root.in
Index: root.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -r1.256 -r1.257
--- root.in 4 Nov 2004 18:01:26 -0000 1.256
+++ root.in 4 Nov 2004 18:46:09 -0000 1.257
@@ -1,4 +1,4 @@
-# $Id: root.in,v 1.256 2004/11/04 18:01:26 dan Exp $
+# $Id: root.in,v 1.257 2004/11/04 18:46:09 dan Exp $
###############################################################################
#
@@ -297,6 +297,8 @@
io/io_passdown$(O)
INTERP_O_FILES = \
+ $(SRC)/charset$(O) \
+ $(SRC)/encoding$(O) \
$(SRC)/exceptions$(O) \
$(SRC)/global_setup$(O) \
$(SRC)/interpreter$(O) \
@@ -890,6 +892,10 @@
$(SRC)/spf_vtable$(O) : $(GENERAL_H_FILES)
+$(SRC)/encoding$(O) : $(SRC)/encoding.c $(GENERAL_H_FILES)
+
+$(SRC)/charset$(O) : $(SRC)/charset.c $(GENERAL_H_FILES)
+
$(OPS)/core_ops$(O) : $(GENERAL_H_FILES) $(OPS)/core_ops.c
#core_ops depends upon config.h so that it gets updated along with updates to
config.h's version numbers
1.54 +6 -1 parrot/src/global_setup.c
Index: global_setup.c
===================================================================
RCS file: /cvs/public/parrot/src/global_setup.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- global_setup.c 23 Jun 2004 07:14:38 -0000 1.53
+++ global_setup.c 4 Nov 2004 18:46:10 -0000 1.54
@@ -1,6 +1,6 @@
/*
Copyright: 2001-2003 The Perl Foundation. All Rights Reserved.
-$Id: global_setup.c,v 1.53 2004/06/23 07:14:38 leo Exp $
+$Id: global_setup.c,v 1.54 2004/11/04 18:46:10 dan Exp $
=head1 NAME
@@ -58,6 +58,11 @@
Parrot_platform_init_code();
#endif
+ /* Load in the basic encodings and charsets */
+ Parrot_encoding_fixed_8_init(interpreter);
+ Parrot_charset_binary_init(interpreter);
+ Parrot_charset_ascii_init(interpreter);
+
/*
* TODO allocate core vtable table only once - or per interpreter