cvsuser 05/03/31 03:23:06
Modified: config/gen/makefiles root.in
runtime/parrot/library/YAML/Parser Syck.imc
t/library yaml_parser_syck.t
Log:
Make YAML/Parser/Syck.imc compile on it's own.
---
Tell the root makefile about a couple of new modules.
Revision Changes Path
1.288 +26 -21 parrot/config/gen/makefiles/root.in
Index: root.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
retrieving revision 1.287
retrieving revision 1.288
diff -u -r1.287 -r1.288
--- root.in 29 Mar 2005 10:10:14 -0000 1.287
+++ root.in 31 Mar 2005 11:23:04 -0000 1.288
@@ -1,5 +1,5 @@
# Copyright: 2001-2005 The Perl Foundation. All Rights Reserved.
-# $Id: root.in,v 1.287 2005/03/29 10:10:14 bernhard Exp $
+# $Id: root.in,v 1.288 2005/03/31 11:23:04 bernhard Exp $
###############################################################################
#
@@ -46,6 +46,9 @@
# directory for the IO subsystem
IO_DIR = io
+# directory with Parrot modules
+LIBRARY_DIR = runtime/parrot/library
+
# directory for *.ops file
OPS_DIR = ops
@@ -220,26 +223,28 @@
lib/Parrot/OpLib/core.pm
GEN_LIBRARY = \
- runtime/parrot/library/config.pbc \
- runtime/parrot/library/Data/Dumper/Base.pbc \
- runtime/parrot/library/Data/Dumper/Default.pbc \
- runtime/parrot/library/Data/Dumper.pbc \
- runtime/parrot/library/Data/Escape.pbc \
- runtime/parrot/library/Data/Sort.pbc \
- runtime/parrot/library/dumper.pbc \
- runtime/parrot/library/Getopt/Long.pbc \
- runtime/parrot/library/ncurses.pbc \
- runtime/parrot/library/parrotlib.pbc \
- runtime/parrot/library/pcre.pbc \
- runtime/parrot/library/Stream/Base.pbc \
- runtime/parrot/library/Stream/Combiner.pbc \
- runtime/parrot/library/Stream/Coroutine.pbc \
- runtime/parrot/library/Stream/Filter.pbc \
- runtime/parrot/library/Stream/Lines.pbc \
- runtime/parrot/library/Stream/ParrotIO.pbc \
- runtime/parrot/library/Stream/Replay.pbc \
- runtime/parrot/library/Stream/Sub.pbc \
- runtime/parrot/library/Stream/Writer.pbc
+ $(LIBRARY_DIR)/config.pbc \
+ $(LIBRARY_DIR)/Data/Dumper/Base.pbc \
+ $(LIBRARY_DIR)/Data/Dumper/Default.pbc \
+ $(LIBRARY_DIR)/Data/Dumper.pbc \
+ $(LIBRARY_DIR)/Data/Escape.pbc \
+ $(LIBRARY_DIR)/Data/Sort.pbc \
+ $(LIBRARY_DIR)/Digest/MD5.pbc \
+ $(LIBRARY_DIR)/dumper.pbc \
+ $(LIBRARY_DIR)/Getopt/Long.pbc \
+ $(LIBRARY_DIR)/ncurses.pbc \
+ $(LIBRARY_DIR)/parrotlib.pbc \
+ $(LIBRARY_DIR)/pcre.pbc \
+ $(LIBRARY_DIR)/Stream/Base.pbc \
+ $(LIBRARY_DIR)/Stream/Combiner.pbc \
+ $(LIBRARY_DIR)/Stream/Coroutine.pbc \
+ $(LIBRARY_DIR)/Stream/Filter.pbc \
+ $(LIBRARY_DIR)/Stream/Lines.pbc \
+ $(LIBRARY_DIR)/Stream/ParrotIO.pbc \
+ $(LIBRARY_DIR)/Stream/Replay.pbc \
+ $(LIBRARY_DIR)/Stream/Sub.pbc \
+ $(LIBRARY_DIR)/Stream/Writer.pbc \
+ $(LIBRARY_DIR)/YAML/Parser/Syck.pbc
# XXX Why don't these build?
#runtime/parrot/library/libpcre.pbc \
#runtime/parrot/library/Data/Replace.pbc \
1.2 +5 -2 parrot/runtime/parrot/library/YAML/Parser/Syck.imc
Index: Syck.imc
===================================================================
RCS file: /cvs/public/parrot/runtime/parrot/library/YAML/Parser/Syck.imc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Syck.imc 14 Mar 2005 21:30:19 -0000 1.1
+++ Syck.imc 31 Mar 2005 11:23:05 -0000 1.2
@@ -1,5 +1,5 @@
# Copyright: 2005 The Perl Foundation. All Rights Reserved.
-# $Id: Syck.imc,v 1.1 2005/03/14 21:30:19 bernhard Exp $
+# $Id: Syck.imc,v 1.2 2005/03/31 11:23:05 bernhard Exp $
=head1 NAME
@@ -14,6 +14,7 @@
Ask libsyck to do some work.
Uses the native call interface.
+Needs synchronous callbacks.
=head1 METHODS
@@ -25,6 +26,8 @@
=cut
+.include "datatypes.pasm"
+
.sub load
.param string yaml_string
@@ -210,7 +213,7 @@
=head1 AUTHOR
-Bernhard Schmalhofer - L<[EMAIL PROTECTED]>
+Bernhard Schmalhofer - <[EMAIL PROTECTED]>
=head1 SEE ALSO
1.2 +1 -2 parrot/t/library/yaml_parser_syck.t
Index: yaml_parser_syck.t
===================================================================
RCS file: /cvs/public/parrot/t/library/yaml_parser_syck.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- yaml_parser_syck.t 25 Mar 2005 11:10:49 -0000 1.1
+++ yaml_parser_syck.t 31 Mar 2005 11:23:06 -0000 1.2
@@ -1,5 +1,5 @@
# Copyright (C) 2001-2003 The Perl Foundation. All rights reserved.
-# $Id: yaml_parser_syck.t,v 1.1 2005/03/25 11:10:49 bernhard Exp $
+# $Id: yaml_parser_syck.t,v 1.2 2005/03/31 11:23:06 bernhard Exp $
=head1 NAME
@@ -26,7 +26,6 @@
pir_output_is( << 'CODE', << 'OUT', "basic parsing" );
-.include "datatypes.pasm"
.include "library/YAML/Parser/Syck.imc"
.include "library/dumper.imc"
.sub test @MAIN