Handle expression errors in register offset
commit685b96d28d7d16a35df6266d8ce4fb0e633e8b95
authorPetr Tesarik <petr@tesarici.cz>
Tue, 16 Oct 2012 06:28:18 +0000 (16 08:28 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Tue, 16 Oct 2012 06:28:18 +0000 (16 08:28 +0200)
tree2e5a853c03a51c915c2fcb57e6cc8a31b829466d
parentedf8fbc98586ff878db076f5b20077f1ca21ea76
Handle expression errors in register offset

If compile_till() fails for the register offset, pass on the error
condition to the caller.

Note that I'm calling free(), not atom_free(), because compile_till()
doesn't re-initialize the atoms list, so trying to clean up the
expression would access freed data. Yes, I'm only lazy to fix this
properly...
libhed/expr.c