Re: Re: [ Attn: Randy] Ad-hoc Parsing?
From: SevagK (kahlinor_at_nop.yahoo.com)
Date: 12/18/04
- Next message: wolfgang kern: "Re: [ Attn: Randy ] Ad-hoc Parsing?"
- Previous message: Percival: "Re: [ Attn: Randy ] Ad-hoc Parsing?"
- In reply to: C: "Re: [ Attn: Randy] Ad-hoc Parsing?"
- Next in thread: NoDot: "Re: [ Attn: Randy] Ad-hoc Parsing?"
- Reply: NoDot: "Re: [ Attn: Randy] Ad-hoc Parsing?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 18 Dec 2004 01:32:11 -0500
C wrote:
>my_block : {
>;; stuff
>my_next_block : {
>;; stuff
>;; forgotten '}'
>} : my_block ;; compiler reports error here
>
>On such small amounts of code, it is difficult to give good >example,
>but as the code size increases to several hundred lines the >feature
>begins to become useful.
Sounds like a good solution. The labels at the closing blocks are a great
way to keeping track of exactly where you are.
Will this be enforced or optional? IMO, it should be enforced to create
good coding behavior. Many times when I try to follow a C program (already
a complicated thing), I get lost in the dozens and sometimes hundreds of
anonymous '{}'s
-kain
- Next message: wolfgang kern: "Re: [ Attn: Randy ] Ad-hoc Parsing?"
- Previous message: Percival: "Re: [ Attn: Randy ] Ad-hoc Parsing?"
- In reply to: C: "Re: [ Attn: Randy] Ad-hoc Parsing?"
- Next in thread: NoDot: "Re: [ Attn: Randy] Ad-hoc Parsing?"
- Reply: NoDot: "Re: [ Attn: Randy] Ad-hoc Parsing?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|