Changeset 663 for proto/charsetcompiler


Ignore:
Timestamp:
Oct 15, 2010, 3:35:14 PM (9 years ago)
Author:
ksherdy
Message:

Add module specific debug variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/charsetcompiler/charset_input_parser.py

    r662 r663  
    44# of the form 'character class name = []' and produces (character class name, character class item list).
    55#
     6
     7debug = False
    68
    79def report_CharSetDef(charset_declaration_list):
     
    130132
    131133        # Check if we parse it properly
    132         report_CharSetDef(charset_declaration_list)
     134        if debug:
     135                report_CharSetDef(charset_declaration_list)
    133136        return charset_declaration_list
Note: See TracChangeset for help on using the changeset viewer.