import platform
import sys
-from SCons.Errors import UserError
-
Import('env')
# We only want to export validator functions when we build with scons, because
if ragel_involved:
if not env.Bit('host_linux'):
- raise UserError('Right now DFA generation is only supported on Linux')
+ raise Exception('Right now DFA generation is only supported on Linux')
# Source generation step 1: Build generator of ragel files.
#