Re: [Sdcc-user] Dropping support for labels at the end of compound statements

2015-08-15 Thread Philipp Klaus Krause
On 12.08.2015 18:29, Alan Cox wrote: > On Tue, 11 Aug 2015 16:16:43 +0200 > 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: >> { >> labe

Re: [Sdcc-user] Dropping support for labels at the end of compound statements

2015-08-12 Thread Alan Cox
On Tue, 11 Aug 2015 16:16:43 +0200 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

Re: [Sdcc-user] Dropping support for labels at the end of compound statements

2015-08-11 Thread Erlo Haugen
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