If the check was syntactical I would have checked if the tokenpasting operator was handled correctly.
Like:
#define JOIN(a,b) a##b
...
JOIN(exe,cve)(... call params...)