diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-06 06:29:56 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-06 06:29:56 +0000 |
commit | 2fa9a0b08c7d2c672d2ae2ac8b76a66cfc1c5082 (patch) | |
tree | 0f783680b6f2a9d2cd9848b98bfd0bce55d81993 /ext/syck/syck.c | |
parent | f77db2ed9ca3f9c404594787b456b1cabee351c7 (diff) | |
download | ruby-2fa9a0b08c7d2c672d2ae2ac8b76a66cfc1c5082.tar.gz |
* 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
Diffstat (limited to 'ext/syck/syck.c')
-rw-r--r-- | ext/syck/syck.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdio.h> #include <string.h> #include "syck.h" -#include "ruby.h" void syck_parser_pop_level( SyckParser * ); |