[Issue 2815] Attributes at end of file accepted
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 7 00:06:07 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2815
------- Comment #1 from clugdbug at yahoo.com.au 2009-04-07 02:06 -------
Created an attachment (id=316)
--> (http://d.puremagic.com/issues/attachment.cgi?id=316&action=view)
fix 2815
Adds:
case TOKeof:
error("declaration expected following attribute, not EOF");
break;
to Parser::parseBlock() in parse.c, by analogy to the behaviour for semicolon.
--
More information about the Digitalmars-d-bugs
mailing list