Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Re: Data Dictionary and Code Generator

Thread Tools

Re: Data Dictionary and Code Generator

Posts: n/a
"Simon Biber" <(E-Mail Removed)> wrote in message news:<3ef7add1$0$9355$(E-Mail Removed) u>...

> This could be useful. I guess it parses static/extern for
> functions and objects, and only includes declarations of ones
> with external linkage, and auto-generates include guards, etc.


> Loop iterators are reinitialised at the start of each
> for statement. Why not just make them global variables?

ha! I experimented with that once, with disastrous results, and
learned to stay away from that. I was using a shared buffer instead,
but this loop iterator is an example of why it didn't work. Let's say
function 1 executes function 2 in a loop, incrementing i every time.
and function 2 calls function X in a loop, incrementing i every time.
bam! bzzt! that's all she wrote.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generator functions subclass generator? Terry Reedy Python 0 06-18-2009 09:51 PM
Problems with email.Generator.Generator Chris Withers Python 20 09-12-2006 11:13 AM
UART with fractional baudrate generator ? Or fractional baudrate generator alone Martin Maurer VHDL 3 04-19-2006 01:26 PM
subtle side effect of generator/generator expression Python 9 10-16-2005 06:42 PM
generator function within a generator function doesn't execute? TheDustbustr Python 1 07-25-2003 10:45 AM