~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/make-lint.py

  • Committer: Stewart Smith
  • Date: 2010-02-15 03:55:09 UTC
  • mto: (1273.13.96 build)
  • mto: This revision was merged to the branch mainline in revision 1308.
  • Revision ID: stewart@flamingspork.com-20100215035509-y6sry4q4yymph2by
move SUBSTR, SUBSTRING and SUBSTR_INDEX to plugins. add parser hooks for substr being a plugin now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
    if not (path.startswith('plugin/') or path.startswith('drizzled/') or
124
124
        path.startswith('client/')):
125
125
        return False
126
 
    # Let's not lint emacs autosave files
127
 
    if (os.path.split(path)[-1].startswith('.#')):
128
 
        return False
129
 
    # We need to figure out how to better express this
130
 
    for exclude in ['innobase', 'pbxt', 'pbms', 'gnulib', '.pb.', 'bak-header', 'm4',
 
126
    for exclude in ['innobase', 'gnulib', '.pb.', 'bak-header', 'm4',
131
127
        'sql_yacc', 'gperf', 'drizzled/probes.h',
132
128
        'drizzled/function_hash.h', 'drizzled/symbol_hash.h',
133
129
        'util/dummy.cc', 'drizzled/sql_yacc.h', 'drizzled/configmake.h',
134
130
        'drizzled/plugin/version.h',
135
 
        'drizzled/generated_probes.h',
136
 
        'drizzled/module/load_list.h']:
 
131
        'drizzled/plugin/load_list.h']:
137
132
        if exclude in path:
138
133
            return False
139
134
    return True