From 2fa9a0b08c7d2c672d2ae2ac8b76a66cfc1c5082 Mon Sep 17 00:00:00 2001 From: why Date: Thu, 6 May 2004 06:29:56 +0000 Subject: * lib/yaml/rubytypes.rb (to_yaml): added instance variable handling for Ranges, Strings, Structs, Regexps. * lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a String's flow style. * lib/yaml.rb (YAML::object_maker): now uses Object.allocate. * ext/syck/gram.c: fixed transfer methods on structs, broke it last commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/syck/syck.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/syck/syck.c') diff --git a/ext/syck/syck.c b/ext/syck/syck.c index 72a883df74..a4a3bd0c01 100644 --- a/ext/syck/syck.c +++ b/ext/syck/syck.c @@ -6,11 +6,12 @@ * * Copyright (C) 2003 why the lucky stiff */ +#include "ruby.h" + #include #include #include "syck.h" -#include "ruby.h" void syck_parser_pop_level( SyckParser * ); -- cgit v1.2.3