projects
/
external
/
ragel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Can now embed the negative sense of a condition.
[external/ragel.git]
/
ragel
/
parsetree.cpp
diff --git
a/ragel/parsetree.cpp
b/ragel/parsetree.cpp
index
72ef0d9
..
d256ea8
100644
(file)
--- a/
ragel/parsetree.cpp
+++ b/
ragel/parsetree.cpp
@@
-1119,14
+1119,14
@@
void FactorWithAug::assignConditions( FsmAp *graph )
switch ( conditions[i].type ) {
/* Transition actions. */
case at_start:
switch ( conditions[i].type ) {
/* Transition actions. */
case at_start:
- graph->startFsmCondition( conditions[i].action );
+ graph->startFsmCondition( conditions[i].action
, conditions[i].sense
);
afterOpMinimize( graph );
break;
case at_all:
afterOpMinimize( graph );
break;
case at_all:
- graph->allTransCondition( conditions[i].action );
+ graph->allTransCondition( conditions[i].action
, conditions[i].sense
);
break;
case at_leave:
break;
case at_leave:
- graph->leaveFsmCondition( conditions[i].action );
+ graph->leaveFsmCondition( conditions[i].action
, conditions[i].sense
);
break;
default:
break;
break;
default:
break;