Ignore:
Timestamp:
06/07/06 16:30:22 (8 years ago)
Author:
xi
Message:

Implementing Scanner: macros and high-level functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/trunk/include/yaml/yaml.h

    r184 r185  
    538538 
    539539typedef struct { 
    540     /** Is a simple key possible? */ 
    541     int possible; 
    542  
    543540    /** Is a simple key required? */ 
    544541    int required; 
     
    586583    int problem_value; 
    587584 
     585    /** The problem position. */ 
     586    yaml_mark_t problem_mark; 
     587 
     588    /** The error context. */ 
     589    const char *context; 
     590 
     591    /** The context position. */ 
     592    yaml_mark_t context_mark; 
     593 
    588594    /** 
    589595     * @} 
     
    662668 
    663669    /** The tokens queue, which contains the current produced tokens. */ 
    664     yaml_token_t *tokens; 
     670    yaml_token_t **tokens; 
    665671 
    666672    /** The size of the tokens queue. */ 
     
    692698 
    693699    /** The stack of potential simple keys. */ 
    694     yaml_simple_key_t *simple_keys; 
     700    yaml_simple_key_t **simple_keys; 
    695701 
    696702    /** The size of the simple keys stack. */ 
     
    854860yaml_free(void *ptr); 
    855861 
     862/** The initial size for various buffers. */ 
     863 
     864#define YAML_DEFAULT_SIZE   16 
     865 
    856866/** The size of the raw buffer. */ 
    857867 
Note: See TracChangeset for help on using the changeset viewer.