Am Wed, 11 May 2011 12:28:29 +0200 schrieb Hans-Peter Diettrich <drdiettri...@aol.com>:
> Otherwise a declaration list is accepted only at the > *begin* of a compound statement, not inside a statement list: > > compound_stat: '{' [decl_list] [stat_list] '}' ; I thought that <statement> = <decl_statement> | ... And only the kind of <decl_statement> which is allowed is restricted in some contexts. Is it defining or only declaring. Only declaring <dec_statements> are restricted to the beginning of the compound statement, but also defining <dec_statements> are allowed. Jörg _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel