Mercurial > projects > dwt-addons
diff dwtx/jface/text/rules/Token.d @ 133:7d818bd32d63
Fix ctors to this with gvim regexp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:29:22 +0200 |
parents | c4fb132a086c |
children | 000f9136b8f7 |
line wrap: on
line diff
--- a/dwtx/jface/text/rules/Token.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/rules/Token.d Sun Aug 24 01:29:22 2008 +0200 @@ -90,7 +90,7 @@ * @param type the type of the token * @since 2.0 */ - private Token(int type) { + private this(int type) { fType= type; fData= null; } @@ -101,7 +101,7 @@ * * @param data the data attached to the newly created token */ - public Token(Object data) { + public this(Object data) { fType= T_OTHER; fData= data; }