Module Name: pcc
Committed By: ragge
Date: Sat Feb 26 06:32:07 UTC 2011
Modified Files:
pcc/cc/cpp: cpp.h token.c
Log Message:
Clean up heap after macro expansion. Increase pushback buffer to 2*64k.
malloc() pushback buffer instead of having it on the stack to avoid hitting
stack limits.
Harmless macros may sometimes expand to something really big, and as cpp now
rescan the whole buffer over again for more macros to expand a large pushback
buffer is needed.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pcc/cc/cpp/cpp.h
cvs rdiff -u -r1.48 -r1.49 pcc/cc/cpp/token.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.