diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-17 20:53:39 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-17 20:53:39 +0000 |
commit | 71a8bebf5a130735b6455426b25a817fb31463c8 (patch) | |
tree | 12451184c932388ec7fa18a76b855054027589e2 /ext/syck/syck.h | |
parent | 23f6b5bdc450abc5ce3a3dc7540a668f5d166dea (diff) | |
download | ruby-71a8bebf5a130735b6455426b25a817fb31463c8.tar.gz |
* ext/syck/rubyext.c: YAML::Syck::compile method.
* ext/syck/syck.c: Buffer edge bug.
* ext/syck/yaml2byte.c: YAML to bytecode converter.
* ext/syck/bytecode.c: Bytecode parser fixes to empty collections
and empty strings.
* ext/syck/token.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/syck.h')
-rw-r--r-- | ext/syck/syck.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/syck/syck.h b/ext/syck/syck.h index bd5c65858b..5b42b778b0 100644 --- a/ext/syck/syck.h +++ b/ext/syck/syck.h @@ -17,6 +17,7 @@ #define YAML_DOMAIN "yaml.org,2002" #include <stdio.h> +#include <ctype.h> #include "st.h" #if defined(__cplusplus) @@ -355,6 +356,8 @@ long syck_parser_readlen( SyckParser *, long ); void syck_parser_init( SyckParser *, int ); SYMID syck_parse( SyckParser * ); void syck_default_error_handler( SyckParser *, char * ); +SYMID syck_yaml2byte_handler( SyckParser *, SyckNode * ); +char *syck_yaml2byte( char * ); /* * Allocation prototypes |