for (int i=0; i<10; i++) /* is invalid in SDCC although
allowed in C99 */
I'd like to see this implemented.
[#384] and [#445] are duplictaes of this one.
Feature Requests: #384
Feature Requests: #445
A tricky bit is that we need another block in between the outer one and the loop body.
I.e the following is ok, ad neither the outer or the inner variable i is in conflict with the variable i declared i the for.
for(int i = 4; i < 8; i++)
Implemented in revision #9724.
Thanks, Phillip, for this!
I've just noticed that in the documentation, many double dashes (e.g. --stc-cXX) have been replaced by a single long one (e.g. –std-cXX)?
I still see the double dashes ins ections 3.1 and 3.3 where do you see the single long one?
Around line 2500 for example.
Lyx did that automatically. But it soesn't change the .pdf. AFAIK -- is just notation for a single longunderscore, so wherever -- got changed to – in the source,it alread was – in the .pdf. Might make sense to check all places where the code changed from -- to see if they should have been escaped (or used code mode) instead.
You're right. They showed up as long dashes already on the PDF. Anyway, I've seen you've fixed it already.
Log in to post a comment.