Staging
v0.8.1
Revision aad2234bfaa6c1f0bfa8251e9b2d1685377336f5 authored by Barry Warsaw on 17 January 2006, 05:59:18 UTC, committed by Barry Warsaw on 17 January 2006, 05:59:18 UTC
Change headerRE as suggested in the bug report, so that single character
headers are accepted.  Test case added too.  Backported from the trunk.
1 parent e87ccea
Raw File
vgrindefs
# vgrind is a pretty-printer that takes source code and outputs
# eye-pleasing postscript.  The entry below should be added to your
# local vgrindefs file.  Contributed by Neale Pickett <neale@lanl.gov>.

python|Python|py:\
        :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
        :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
        :kw=assert and break class continue def del elif else except\
         exec finally for from global if import in is lambda not or\
         pass print raise return try while yield:
back to top