2
0
Fork 0

Try to make ragel call ragel5 compatible

This commit is contained in:
Stefan Bühler 2008-09-08 02:20:25 +02:00
parent dbd9218150
commit 371c9749d7
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ def rageltaskfun(task):
env = task.env
ragelbin = env.get_flat('RAGEL')
if ragelbin:
cmd = '%s -o %s %s' % (ragelbin, task.outputs[0].bldpath(env), task.inputs[0].srcpath(env))
cmd = '%s -o %s -C -T1 %s' % (ragelbin, task.outputs[0].bldpath(env), task.inputs[0].srcpath(env))
else:
src = task.inputs[0].srcpath(env)
src = src[:src.rfind('.')] + '.c'