aboutsummaryrefslogtreecommitdiff
path: root/clint.py
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-05-13 01:36:11 +0200
committerEliseo Martínez <eliseomarmol@gmail.com>2014-05-15 20:46:02 +0200
commit5f795225dcf735096c54057a3b5eb08484c02c8b (patch)
tree277c9385401852b0649ee9cfc4bafc759cf65c5a /clint.py
parent71c79b5b7096427f26ac4c4b60244b503efc4b1b (diff)
downloadrneovim-5f795225dcf735096c54057a3b5eb08484c02c8b.tar.gz
rneovim-5f795225dcf735096c54057a3b5eb08484c02c8b.tar.bz2
rneovim-5f795225dcf735096c54057a3b5eb08484c02c8b.zip
Introduce nvim namespace: Fix define guards.
Change define guards from NEOVIM_XXX_H to NVIM_XXX_H: - Change header files. - Change clint correct guard name calculation.
Diffstat (limited to 'clint.py')
-rwxr-xr-xclint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clint.py b/clint.py
index 756a21e5ab..01d179a3f7 100755
--- a/clint.py
+++ b/clint.py
@@ -1038,7 +1038,7 @@ def GetHeaderGuardCPPVariable(filename):
fileinfo = FileInfo(filename)
file_path_from_root = fileinfo.RelativePath()
- return 'NEOVIM_' + re.sub(r'[-./\s]', '_', file_path_from_root).upper()
+ return 'NVIM_' + re.sub(r'[-./\s]', '_', file_path_from_root).upper()
def CheckForHeaderGuard(filename, lines, error):