diff options
author | xi <xi@18f92427-320e-0410-9341-c67f048884a3> | 2006-07-07 19:34:25 +0000 |
---|---|---|
committer | xi <xi@18f92427-320e-0410-9341-c67f048884a3> | 2006-07-07 19:34:25 +0000 |
commit | cfa84b17c967e07717b2e2bc688582e823dcd1cc (patch) | |
tree | 540d7b6ce57d2e46a194dd696405dba9e76332bc /src/scanner.c | |
parent | 1b2e360db1ad4ff63a995523305d9eaed9a78955 (diff) | |
download | libyaml-cfa84b17c967e07717b2e2bc688582e823dcd1cc.tar.gz |
Complete the Parser (it requires refactoring though) and fix some bugs.
git-svn-id: http://svn.pyyaml.org/libyaml/trunk@203 18f92427-320e-0410-9341-c67f048884a3
Diffstat (limited to 'src/scanner.c')
-rw-r--r-- | src/scanner.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scanner.c b/src/scanner.c index 45af0c1..7500f42 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -2739,6 +2739,8 @@ yaml_parser_scan_version_directive_value(yaml_parser_t *parser, if (!yaml_parser_scan_version_directive_number(parser, start_mark, minor)) return 0; + + return 1; } #define MAX_NUMBER_LENGTH 9 |