using indentation rather than braces
    Ben Cranston 
    zben at umd5.UUCP
       
    Sat May 17 09:14:10 AEST 1986
    
    
  
Forgive me if this is too obvious to mention, but it seems to me that using
the indentation information makes life much harder for programs like YACC
and LEX that act by creating C source code.  Now they have to keep track of
what column they are outputting to...
I just remember doing some assembly macros that tried to make their
expansion obvious by "display"ing the code they were generating to the
listing before actually generating it.  There was real gore in getting the
columns lined up right, and in getting meaningful comments...
-- 
"We're taught to cherish what we have   |          Ben Cranston
 by what we have no longer..."          |          zben at umd2.umd.edu
                          ...{seismo!umcp-cs,ihnp4!rlgvax}!cvl!umd5!zben  
    
    
More information about the Comp.lang.c
mailing list