dfsm: Trim error handling
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 22 Jan 2012 23:22:39 +0000 (23:22 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sun, 22 Jan 2012 23:22:39 +0000 (23:22 +0000)
commit4a10cf5b78f1cd9d910a7906972b23faf66bb8ca
tree5711b89acc0e55eed0b2b0167917a9861cfaa8b9
parent8d37e8dbe09b5642da78bc0c2a11dd5103e7c316
dfsm: Trim error handling

It turns out that since we're especially strict about typing data structures,
we can trim a lot of GErrors from data structures and expressions, to the
point where we can guarantee zero runtime errors from anything smaller than
a statement.

At the moment, the only reason to keep GErrors in statement execution methods
is because they carry D-Bus error information up the stack. This is ugly and
needs to be killed.
19 files changed:
dfsm/dfsm-ast-data-structure.c
dfsm/dfsm-ast-data-structure.h
dfsm/dfsm-ast-expression-binary.c
dfsm/dfsm-ast-expression-data-structure.c
dfsm/dfsm-ast-expression-data-structure.h
dfsm/dfsm-ast-expression-function-call.c
dfsm/dfsm-ast-expression-unary.c
dfsm/dfsm-ast-expression.c
dfsm/dfsm-ast-expression.h
dfsm/dfsm-ast-object.c
dfsm/dfsm-ast-precondition.c
dfsm/dfsm-ast-statement-assignment.c
dfsm/dfsm-ast-statement-emit.c
dfsm/dfsm-ast-statement-reply.c
dfsm/dfsm-ast-statement.c
dfsm/dfsm-ast-variable.c
dfsm/dfsm-ast-variable.h
dfsm/dfsm-environment.c
dfsm/dfsm-environment.h