Mon Aug 17 19:28:18 CEST 2009

CONS using alloca()

I'd like to write a tokenizer / parser in C without using malloc().
Is it ok to use alloca() for this (i.e. one per character)?  I did
this before actually...

Hmm..  Apparently alloca() is no longer standard?  Something to do
with ANSI C's specification of compile-time knowable stack frame size.