Introduce option 'on_error'
commit0a2810732967eee50d8c55a371a28704d8a1ec17
authorTobias Grosser <tobias@grosser.es>
Sat, 3 Dec 2011 15:52:35 +0000 (3 16:52 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 3 Dec 2011 19:23:42 +0000 (3 20:23 +0100)
treeb15ee739afee88159ef5b082718000681f14d7b2
parent99c11d6039a62bcb38eb8a7953ec7d223e66c2de
Introduce option 'on_error'

The option on_error defines the behaviour of isl in case of an error.
By default, the option is set to 'warn'. This is the current behaviour
and means isl prints a warning and continues the execution of the
program. We also introduce two new modes: 'continue' and 'abort'.
'continue' does not print any warning, but continues execution and 'abort'
abort the program from within isl.  'abort' is useful for debuggers as
they automatically break at the place of the error condition.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/ctx.h
include/isl/options.h
isl_ctx.c
isl_options.c
isl_options_private.h