Changeset 241
- Timestamp:
- 02/27/07 00:49:52 (2 years ago)
- Files:
-
- trunk/src/language/d/Parser.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/language/d/Parser.d
r236 r241 204 204 provend = tokensUpto(';'); 205 205 pos++; 206 // abstract methods should not appear in Methods or codeblocks 207 // they can look alot like method calls in those cases... 208 if (cast(Method)this.parent || this.parent.getType() == Element.BLOCK) { 209 continue; 210 } 211 212 206 213 parseMethod(decres,provend,token, lastComment); 207 214 lastComment = null; … … 797 804 for (int i=start; i<toks.length;i++) 798 805 { 806 //writefln("testDeclaration: state= %d token = %s", state, toks[i].str); 799 807 debug (declaration) writefln("Parser.testDeclaration 1"); 800 808 debug (declaration) writefln("Parser.testDeclaration 1.1 i=%s toks.length=%s", i, toks.length); … … 1060 1068 1061 1069 1062 //writefln("got methodtokens %s" , tokensToString(methodtoks));1070 //writefln("got methodtokens %s" , tokensToString(methodtoks)); 1063 1071 1064 1072
