freeze.imc - reading and writing of state files


Copyright: 2004 Bernhard Schmalhofer. All Rights Reserved. CVS Info: $Id$ History: Ported from GNU m4 1.4 References:

Reading and writing state files. Invoced with the command line parameters '--reload-state' and '--freeze-state'


void produce_frozen_state( Hash state, string frozen_file ) ^

Dump a state file.

void reload_frozen_state( Hash state, string frozen_file ) ^

Read a frozen file

TODO: Read in long files incrementally TODO: Support all flags TODO: Search for files in M4PATH For now we just read the whole file into a string. For now we just worry about the flags 'F', 'T' and 'V'.