mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 416430. Fixed loss of GCC attribute token
Change-Id: Idce28724b7b7b1bc8c43528036b2697386ec76b7 Signed-off-by: Marco Trudel <marco@mtsystems.ch> Reviewed-on: https://git.eclipse.org/r/21659 Reviewed-by: Thomas Corbat <tcorbat@hsr.ch> IP-Clean: Thomas Corbat <tcorbat@hsr.ch> Tested-by: Thomas Corbat <tcorbat@hsr.ch>
This commit is contained in:
parent
aa3df633a7
commit
55761d622a
1 changed files with 1 additions and 0 deletions
|
@ -2469,6 +2469,7 @@ public abstract class AbstractGNUSourceCodeParser implements ISourceCodeParser {
|
|||
adjustLength(sequence, token);
|
||||
} else {
|
||||
IASTTokenList list = nodeFactory.newTokenList();
|
||||
list.addToken(sequence);
|
||||
list.addToken(token);
|
||||
setRange(list, token);
|
||||
sequence = list;
|
||||
|
|
Loading…
Add table
Reference in a new issue