Sriram Rajagopalan wrote:
int this_is_a_\
very_long_variable_name = 10;
The above gives a compilation error.
Good, after translation phase 2, this appear as
int this_is_a_ very_long_variable_name = 10;
Please suggest the means to do this if there is any.
This is a horrible idea, don't do it!
Having very long identifiers is a bad idea. First of all, identifiers
with external linkage may have only 6 significant initial characters
(C90). Even the internal identifiers in C99, may have no more than 63
significant initial characters. So, you are begging for bugs.. !
Second, readability, splitting identifiers on multiple lines, will not
increase the readability of your code, it will only tell others that
the code was written by a clueless person.
There are cases, where I have generated identifiers, not by use of line
splicing, but rather via the ## operator:
#define make_ident(a, b) a ## b