BR3414012: Make %if[n]def to handle tail spaces
commit4c6f82f78f1cbcff1318bfea642b89a96e75023a
authorCyrill Gorcunov <gorcunov@gmail.com>
Sat, 1 Oct 2011 21:06:29 +0000 (2 01:06 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 1 Oct 2011 21:08:02 +0000 (2 01:08 +0400)
treea2a521a079c8c80c472b95e1baca62c5a2b35393
parentd6851d4d2654406abdc55a017961eb7b3c623500
BR3414012: Make %if[n]def to handle tail spaces

In case if there a trailing spaces after expansion
%if[n]def might produce a false alarms on macro id
being expected.

Note it also makes the constructions like bare

%ifdef
%endif

invalid, while before they were passed well without
a notice.

Reported-by: KO Myung-Hun
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
preproc.c