From 70bee9d94c7107068d5cbf9c564b257ba40f0add Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 16 Nov 2016 11:46:39 +1100 Subject: Extend header checking to include directory and add Sci_Position.h. --- scripts/HeaderCheck.py | 3 ++- scripts/HeaderOrder.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') 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" -- cgit v1.2.3