octol / vim-cpp-enhanced-highlight

Additional Vim syntax highlighting for C++ (including C++11/14/17)
MIT License
1.06k stars 150 forks source link

Distinguish between identifier and function macros? #44

Open MichaelMa2014 opened 7 years ago

MichaelMa2014 commented 7 years ago
#define ONE 1
#define TWO (1+1)
#define PLUS(x) x+1
octol commented 7 years ago

This is tricky and unlikely to be feasible without some kind of libclang backend. Sorry.