mirror of
https://github.com/neovim/neovim.git
synced 2025-12-07 23:22:39 +00:00
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.
This commit is contained in:
2
clint.py
2
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):
|
||||
|
||||
Reference in New Issue
Block a user