diff options
author | Neil <nyamatongwe@gmail.com> | 2016-05-17 21:58:45 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-05-17 21:58:45 +1000 |
commit | 9075832b2e345bb3ffe5d9b53ce3b899dc3a1efa (patch) | |
tree | eea84fe9abb40c8fbacd4e722b2e8fb458288465 /test/gi/filter-scintilla-h.py | |
parent | f39e2e75170e9b1953eb7eb6ed48326e6af0c24e (diff) | |
download | scintilla-mirror-9075832b2e345bb3ffe5d9b53ce3b899dc3a1efa.tar.gz |
Backed out changeset: 89cda794d0dd as fixed changeset will be sent by author.
Diffstat (limited to 'test/gi/filter-scintilla-h.py')
-rw-r--r-- | test/gi/filter-scintilla-h.py | 19 |
1 files changed, 0 insertions, 19 deletions
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() |