View Single Post
  #5   Spotlight this post!  
Unread 18-07-2002, 14:36
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
The only machine generated files are pbasic.tab.c, pbasic.tab.h, and lex.yy.c. All the other files were written by me. I also don't tend to use goto's in my code. But basically all the generated parsers are are state machines. And some of the code that actually gets put in the generated files was written by me. Bison and Flex have the ability (and it's used most of the time) to put code insert code inline. If you look at the various pbasic.y and pbasic.l files you can see where the code that's dropped in inline is.

Matt