aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-11-16 11:46:39 +1100
committerNeil <nyamatongwe@gmail.com>2016-11-16 11:46:39 +1100
commit70bee9d94c7107068d5cbf9c564b257ba40f0add (patch)
tree40d9301a925441ce6b2648971aff67ddf259e409
parent0bbf9c011cb5c3d309e3f71c6283a3b5e50b9903 (diff)
downloadscintilla-mirror-70bee9d94c7107068d5cbf9c564b257ba40f0add.tar.gz
Extend header checking to include directory and add Sci_Position.h.
-rw-r--r--scripts/HeaderCheck.py3
-rw-r--r--scripts/HeaderOrder.txt1
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/HeaderCheck.py b/scripts/HeaderCheck.py
index 6916fe344..e36ffa18e 100644
--- a/scripts/HeaderCheck.py
+++ b/scripts/HeaderCheck.py
@@ -32,7 +32,8 @@ def ExtractHeaders(filename):
def CheckFiles(root):
# Find all the lexer source code files
- filePaths = glob.glob(root + "/src/*.cxx")
+ filePaths = glob.glob(root + "/include/*.h")
+ filePaths += glob.glob(root + "/src/*.cxx")
SortListInsensitive(filePaths)
filePaths += glob.glob(root + "/lexlib/*.cxx")
filePaths += glob.glob(root + "/lexers/*.cxx")
diff --git a/scripts/HeaderOrder.txt b/scripts/HeaderOrder.txt
index f8038d11e..98efd3074 100644
--- a/scripts/HeaderOrder.txt
+++ b/scripts/HeaderOrder.txt
@@ -71,6 +71,7 @@
// include
#include "Platform.h"
+#include "Sci_Position.h"
#include "ILexer.h"
#include "Scintilla.h"
#include "ScintillaWidget.h"