~ubuntu-branches/ubuntu/saucy/libyaml/saucy-updates

« back to all changes in this revision

Viewing changes to src/scanner.c

  • Committer: Bazaar Package Importer
  • Author(s): Anders Kaseorg
  • Date: 2009-10-04 14:07:18 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091004140718-xbxdh75o5isjgq51
Tags: 0.1.3-1
* New upstream version 0.1.3.
  + This release fixes non-standard structure initialization and a
    streaming-related issue.
* Bump priority from extra to optional.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1118
1118
 
1119
1119
    if (parser->simple_key_allowed)
1120
1120
    {
1121
 
        yaml_simple_key_t simple_key = { 1, required,
1122
 
            parser->tokens_parsed + parser->tokens.tail - parser->tokens.head,
1123
 
            { 0, 0, 0 } };
 
1121
        yaml_simple_key_t simple_key;
 
1122
        simple_key.possible = 1;
 
1123
        simple_key.required = required;
 
1124
        simple_key.token_number = 
 
1125
            parser->tokens_parsed + parser->tokens.tail - parser->tokens.head;
1124
1126
        simple_key.mark = parser->mark;
1125
1127
 
1126
1128
        if (!yaml_parser_remove_simple_key(parser)) return 0;