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

Merged grammar fixes from the stable branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/trunk/src/scanner.c

    r265 r274  
    10571057                return SCANNER_ERROR_WITH_CONTEXT_INIT(parser, 
    10581058                        "while scanning a simple key", simple_key->mark, 
    1059                         "could not found expected ':'", parser->mark); 
     1059                        "could not find expected ':'", parser->mark); 
    10601060            } 
    10611061 
     
    11271127            return SCANNER_ERROR_WITH_CONTEXT_INIT(parser, 
    11281128                    "while scanning a simple key", simple_key->mark, 
    1129                     "could not found expected ':'", parser->mark); 
     1129                    "could not find expected ':'", parser->mark); 
    11301130        } 
    11311131    } 
     
    20572057        SCANNER_ERROR_WITH_CONTEXT_INIT(parser, 
    20582058                "while scanning a directive", start_mark, 
    2059                 "did not found expected comment or line break", parser->mark); 
     2059                "did not find expected comment or line break", parser->mark); 
    20602060        goto error; 
    20612061    } 
     
    21132113        SCANNER_ERROR_WITH_CONTEXT_INIT(parser, 
    21142114                "while scanning a directive", start_mark, 
    2115                 "cannot found expected directive name", parser->mark); 
     2115                "could not find expected directive name", parser->mark); 
    21162116        goto error; 
    21172117    } 
     
    24702470        SCANNER_ERROR_WITH_CONTEXT_INIT(parser, 
    24712471                "while scanning a tag", start_mark, 
    2472                 "did not found expected whitespace or line break", parser->mark); 
     2472                "did not find expected whitespace or line break", parser->mark); 
    24732473        goto error; 
    24742474    } 
     
    28352835        SCANNER_ERROR_WITH_CONTEXT_INIT(parser, 
    28362836                "while scanning a block scalar", start_mark, 
    2837                 "did not found expected comment or line break", parser->mark); 
     2837                "did not find expected comment or line break", parser->mark); 
    28382838        goto error; 
    28392839    } 
Note: See TracChangeset for help on using the changeset viewer.