C++: Fix line value for tokens generated by function-like macro
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>
Thu, 20 Feb 2014 20:14:18 +0000 (22:14 +0200)
committerOrgad Shaneh <orgads@gmail.com>
Thu, 27 Feb 2014 19:55:58 +0000 (20:55 +0100)
commitb41b25a3f7a765bfbbc339f8cffba745bcfa84d0
treeea5f41c74cba835afaa44fb87a0b68e8b274e5e7
parente4c2f569a8bb5dddec42f08023caf7614d55578b
C++: Fix line value for tokens generated by function-like macro

baseLine is used for generating new tokens, which are
later added m_state.m_lineRef - 1 again

Change-Id: I33928a90988e8d4c317ae460647f16f87da5b155
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
src/libs/cplusplus/pp-engine.cpp