Changeset 268
- Timestamp:
- 11/13/07 02:32:00 (1 year ago)
- Files:
-
- trunk/src/language/php/Method.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/language/php/Method.d
r173 r268 15 15 { 16 16 char[][char[]] properties; 17 char[] attributes ;17 char[] attributes = ""; 18 18 char[] docComment = ""; 19 19 PhpType type() { return PhpType.METHOD; } … … 70 70 } 71 71 // get the last of the nameparts; 72 this.name = nameparts[nameparts.length-1]; 73 this.attributes = std.string.join(nameparts[0..nameparts.length-1], " "); 74 72 73 74 this.name = nameparts.length ? nameparts[nameparts.length-1] : "unknown"; // not sure why this happens 75 if (nameparts.length) { 76 77 this.attributes = std.string.join(nameparts[0..nameparts.length-1], " "); 78 } 75 79 // now inside ( 76 80 // eat it.
