Ignore:
Timestamp:
03/19/06 10:41:32 (8 years ago)
Author:
xi
Message:

Add an example: yaml highlight script.

Usage:

$ cat your_yaml_document | ./yaml_hl.py                         # Produces colored ASCII output
$ cat your_yaml_document | ./yaml_hl.py -c yaml_hl_html.cfg     # Produces HTML output.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/lib/yaml/error.py

    r116 r119  
    44class Mark: 
    55 
    6     def __init__(self, name, line, column, buffer, pointer): 
     6    def __init__(self, name, index, line, column, buffer, pointer): 
    77        self.name = name 
     8        self.index = index 
    89        self.line = line 
    910        self.column = column 
Note: See TracChangeset for help on using the changeset viewer.