mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Add basecase to TokenDuple.createStringRepresentation
This commit is contained in:
parent
a3179774f5
commit
6b63b8ab83
1 changed files with 1 additions and 0 deletions
|
@ -271,6 +271,7 @@ public class TokenDuple implements ITokenDuple {
|
||||||
|
|
||||||
public static String createStringRepresentation( IToken f, IToken l)
|
public static String createStringRepresentation( IToken f, IToken l)
|
||||||
{
|
{
|
||||||
|
if( f == l ) return f.getImage();
|
||||||
StringBuffer buff = new StringBuffer();
|
StringBuffer buff = new StringBuffer();
|
||||||
IToken prev = null;
|
IToken prev = null;
|
||||||
IToken iter = f;
|
IToken iter = f;
|
||||||
|
|
Loading…
Add table
Reference in a new issue