summaryrefslogtreecommitdiffstats
path: root/Source/.gitattributes
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-17 14:31:41 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-17 14:56:37 (GMT)
commite4a92dab3fa81a893a52dd1a774db79c4363fda6 (patch)
tree24afab8ec537e65a0939cfc10c4c59b3a9000258 /Source/.gitattributes
parent7d2a0aa76c25d92f1e2a03778f5666bdd7e56b92 (diff)
downloadCMake-e4a92dab3fa81a893a52dd1a774db79c4363fda6.zip
CMake-e4a92dab3fa81a893a52dd1a774db79c4363fda6.tar.gz
CMake-e4a92dab3fa81a893a52dd1a774db79c4363fda6.tar.bz2
cmListFileLexer: Update to flex 2.6
Revise the documented modifications we need to make to the flex-generated source file according to the needs of the new version. Update our own implementation to avoid warnings with flex types.
Diffstat (limited to 'Source/.gitattributes')
-rw-r--r--Source/.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/.gitattributes b/Source/.gitattributes
index cf4dabd..bd25ea8 100644
--- a/Source/.gitattributes
+++ b/Source/.gitattributes
@@ -1,2 +1,5 @@
# Preserve upstream indentation style.
cm_sha2.* whitespace=indent-with-non-tab
+
+# Preserve indentation style in generated code.
+cmListFileLexer.c whitespace=-tab-in-indent,-indent-with-non-tab