Parse errors in the intermediate XML file now cause the backend to exit
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 29 Apr 2007 16:03:30 +0000 (16:03 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 29 Apr 2007 16:03:30 +0000 (16:03 +0000)
commit702cfdd52936e609a2483c1ed963d5ebd3e6eedb
tree84718a07087c27caebec8d9a2334ecc41d487949
parent5b673e70b769135785d663e92b7a2e2af0359757
Parse errors in the intermediate XML file now cause the backend to exit
immediately. The recovery infrastructure isn't there and segfaults are likely.

When no input is given to the backend program, it should not print an error
message, it should just return a non-zero exit status. The assumption is that
the frontend printed an error.

All backend error functions now use gblErrorCount.

git-svn-id: http://svn.complang.org/ragel/trunk@209 052ea7fc-9027-0410-9066-f65837a77df0
12 files changed:
common/common.cpp
common/common.h
ragel/parsedata.cpp
ragel/parsedata.h
redfsm/gendata.cpp
redfsm/gendata.h
redfsm/xmlparse.kl
redfsm/xmlscan.rl
rlgen-cd/main.cpp
rlgen-dot/main.cpp
rlgen-java/main.cpp
rlgen-ruby/main.cpp