coding conventions

a7244270@yahoo.com (Alfonso Urdaneta)
5 Feb 2003 23:56:09 -0500

          From comp.compilers

Related articles
coding conventions a7244270@yahoo.com (2003-02-05)
Re: coding conventions alexc@world.std.com (2003-02-11)
Re: coding conventions a7244270@yahoo.com (2003-02-21)
Re: coding conventions s.bosscher@student.tudelft.nl (2003-02-24)
| List of all articles for this month |

From: a7244270@yahoo.com (Alfonso Urdaneta)
Newsgroups: comp.compilers
Date: 5 Feb 2003 23:56:09 -0500
Organization: http://groups.google.com/
Keywords: yacc, practice, question
Posted-Date: 05 Feb 2003 23:56:09 EST

Hi.

I'm fairly new to this flex/bison stuff, and I was wondering - is
there a recommended coding convention for flex/bison ? like for
example should I have named the "subpart" differently, etc.

procedure_decl:
        L200_GLOBAL procedure_decl_subpart
        | L200_EXTERNAL procedure_decl_subpart
        ;

procedure_decl_subpart:
        L200_PROCEDURE L200_IDENTIFIER L200_SEMICOLON
        ;

If anyone can point me at some style guides, or some hairy .l and .y
files, I'd appreciate it.

Thanks,

Alfonso.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.