comparison dmd/Parser.d @ 96:acd69f84627e

further work
author Trass3r
date Tue, 31 Aug 2010 02:12:15 +0200
parents be2ab491772e
children 12c0c84d13fd
comparison
equal deleted inserted replaced
95:ae5b11064a9a 96:acd69f84627e
2664 nextToken(); 2664 nextToken();
2665 continue; 2665 continue;
2666 } 2666 }
2667 Identifier id = token.ident; 2667 Identifier id = token.ident;
2668 if (id is Id.property) 2668 if (id is Id.property)
2669 (cast(TypeFunction)tf).ispure = 1; 2669 (cast(TypeFunction)tf).isproperty = 1;
2670 else 2670 else
2671 error("valid attribute identifiers are property, not %s", id.toChars()); 2671 error("valid attribute identifiers are @property, not @%s", id.toChars());
2672 nextToken(); 2672 nextToken();
2673 continue; 2673 continue;
2674 default: 2674 default:
2675 break; /// 2675 break; ///
2676 } 2676 }