diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-13 01:36:11 +0200 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-15 20:46:02 +0200 |
commit | 5f795225dcf735096c54057a3b5eb08484c02c8b (patch) | |
tree | 277c9385401852b0649ee9cfc4bafc759cf65c5a /clint.py | |
parent | 71c79b5b7096427f26ac4c4b60244b503efc4b1b (diff) | |
download | rneovim-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-x | clint.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |