On 11-08-2015 16:16, Philipp Klaus Krause wrote:
> In standard C, each label has to be followed by a statement. HTis makes
> a difference at the end of compoud statements.
>
> Not allowed:
> {
> label:
> }
>
> Allowed:
> {
> label:;
> }
>
> SDCC currently allows both. The comment in SDCC.y makes it clear, that
> this is a deliberate extension.
>
> I would like to drop support for this non-standard extension. IMO
> non-standard extensions should only be supported in SDCC where they
> provide a substantial advantage, which IMO, is not the ccase here.
>
> Philipp
>
>
I agree with you in that non-standard thingies are to be avoided unless
they give some real value. Also sticking to the standard makes programs
less difficult to port.
Erlo
------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user