Ignore:
Timestamp:
07/31/08 16:41:02 (6 years ago)
Author:
xi
Message:

Fixed grammar in error messages (from YAML::XS::LibYAML).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/branches/stable/src/scanner.c

    r243 r273  
    10791079                return yaml_parser_set_scanner_error(parser, 
    10801080                        "while scanning a simple key", simple_key->mark, 
    1081                         "could not found expected ':'"); 
     1081                        "could not find expected ':'"); 
    10821082            } 
    10831083 
     
    11481148            return yaml_parser_set_scanner_error(parser, 
    11491149                    "while scanning a simple key", simple_key->mark, 
    1150                     "could not found expected ':'"); 
     1150                    "could not find expected ':'"); 
    11511151        } 
    11521152    } 
     
    20732073    if (!IS_BREAKZ(parser->buffer)) { 
    20742074        yaml_parser_set_scanner_error(parser, "while scanning a directive", 
    2075                 start_mark, "did not found expected comment or line break"); 
     2075                start_mark, "did not find expected comment or line break"); 
    20762076        goto error; 
    20772077    } 
     
    21272127    if (string.start == string.pointer) { 
    21282128        yaml_parser_set_scanner_error(parser, "while scanning a directive", 
    2129                 start_mark, "cannot found expected directive name"); 
     2129                start_mark, "could not find expected directive name"); 
    21302130        goto error; 
    21312131    } 
     
    24732473    if (!IS_BLANKZ(parser->buffer)) { 
    24742474        yaml_parser_set_scanner_error(parser, "while scanning a tag", 
    2475                 start_mark, "did not found expected whitespace or line break"); 
     2475                start_mark, "did not find expected whitespace or line break"); 
    24762476        goto error; 
    24772477    } 
     
    28272827    if (!IS_BREAKZ(parser->buffer)) { 
    28282828        yaml_parser_set_scanner_error(parser, "while scanning a block scalar", 
    2829                 start_mark, "did not found expected comment or line break"); 
     2829                start_mark, "did not find expected comment or line break"); 
    28302830        goto error; 
    28312831    } 
Note: See TracChangeset for help on using the changeset viewer.