From 9075832b2e345bb3ffe5d9b53ce3b899dc3a1efa Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 17 May 2016 21:58:45 +1000 Subject: Backed out changeset: 89cda794d0dd as fixed changeset will be sent by author. --- test/gi/filter-scintilla-h.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 test/gi/filter-scintilla-h.py (limited to 'test/gi/filter-scintilla-h.py') diff --git a/test/gi/filter-scintilla-h.py b/test/gi/filter-scintilla-h.py deleted file mode 100644 index 0743f9ef2..000000000 --- a/test/gi/filter-scintilla-h.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python -# Filters Scintilla.h to not contain generated stuff or deprecated defines - -import sys -import fileinput - -def main(): - inhibit = 0 - for line in fileinput.input(): - if line.startswith("/* ++Autogenerated") or line.startswith("#ifdef INCLUDE_DEPRECATED_FEATURES"): - inhibit += 1 - if inhibit == 0: - sys.stdout.write(line) - if line.startswith("/* --Autogenerated") or line.startswith("#endif"): - if (inhibit > 0): - inhibit -= 1 - -if __name__ == "__main__": - main() -- cgit v1.2.3