diff options
author | Kirill Simonov <xi@resolvent.net> | 2006-07-07 19:34:25 +0000 |
---|---|---|
committer | Kirill Simonov <xi@resolvent.net> | 2006-07-07 19:34:25 +0000 |
commit | ab01bac8b522ac9562333d15602972dbfd8b8828 (patch) | |
tree | 540d7b6ce57d2e46a194dd696405dba9e76332bc /src/scanner.c | |
parent | 52fba2c6b357fefbc9ad2c099506e64618ef2ced (diff) | |
download | libyaml-git-ab01bac8b522ac9562333d15602972dbfd8b8828.tar.gz |
Complete the Parser (it requires refactoring though) and fix some bugs.
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 |