NAME ^

freeze.pir - reading and writing of state files

DESCRIPTION ^

Copyright: 2004 Bernhard Schmalhofer. All Rights Reserved. SVN Info: $Id$ History: Ported from GNU m4 1.4 References: http://www.gnu.org/software/m4/m4.html

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

SUBROUTINES ^

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'.


parrot