Add unit variable type and 'reloaded()' function.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Feb 2012 16:01:31 +0000 (16:01 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Feb 2012 17:57:03 +0000 (17:57 +0000)
commit2701d3a832514ee94d110dfbd4f46f2ab6d9637e
tree3a13b57447771302544ad9db9682a577083e954a
parent05ade7bb494f37bbbfb4b20d59d487e5ede98b05
Add unit variable type and 'reloaded()' function.

The reloaded() function is true only when we have just loaded a new
file.

This lets you initialize variables, with some caveats.
daemon/daemon.ml
lib/whenproto.x
lib/whenutils.ml
lib/whenutils.mli
tests/jobs/t100_counter.ml
tests/jobs/t100_counter.ml.expected
tests/jobs/t101_updown.ml
tests/jobs/t101_updown.ml.expected
tests/parsing/t020_simple.ml
tools/whenjobs.ml