redfsm.h (ragel-7.0.0.10) | : | redfsm.h (ragel-7.0.0.11) | ||
---|---|---|---|---|
/* | /* | |||
* Copyright 2001-2006 Adrian Thurston <thurston@colm.net> | * Copyright 2001-2018 Adrian Thurston <thurston@colm.net> | |||
* | * | |||
* Permission is hereby granted, free of charge, to any person obtaining a copy | * Permission is hereby granted, free of charge, to any person obtaining a copy | |||
* of this software and associated documentation files (the "Software"), to | * of this software and associated documentation files (the "Software"), to | |||
* deal in the Software without restriction, including without limitation the | * deal in the Software without restriction, including without limitation the | |||
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | |||
* sell copies of the Software, and to permit persons to whom the Software is | * sell copies of the Software, and to permit persons to whom the Software is | |||
* furnished to do so, subject to the following conditions: | * furnished to do so, subject to the following conditions: | |||
* | * | |||
* The above copyright notice and this permission notice shall be included in al l | * The above copyright notice and this permission notice shall be included in al l | |||
* copies or substantial portions of the Software. | * copies or substantial portions of the Software. | |||
skipping to change at line 600 | skipping to change at line 600 | |||
fromStateAction(0), | fromStateAction(0), | |||
eofAction(0), | eofAction(0), | |||
eofTrans(0), | eofTrans(0), | |||
id(0), | id(0), | |||
bAnyRegCurStateRef(false), | bAnyRegCurStateRef(false), | |||
partitionBoundary(false), | partitionBoundary(false), | |||
inConds(0), | inConds(0), | |||
numInConds(0), | numInConds(0), | |||
inCondTests(0), | inCondTests(0), | |||
numInCondTests(0), | numInCondTests(0), | |||
nfaTargs(0) | nfaTargs(0), | |||
outCondSpace(0) | ||||
{ } | { } | |||
/* Transitions out. */ | /* Transitions out. */ | |||
RedTransList outSingle; | RedTransList outSingle; | |||
RedTransList outRange; | RedTransList outRange; | |||
RedTransAp *defTrans; | RedTransAp *defTrans; | |||
/* For flat keys. */ | /* For flat keys. */ | |||
Key lowKey, highKey; | Key lowKey, highKey; | |||
RedTransAp **transList; | RedTransAp **transList; | |||
skipping to change at line 643 | skipping to change at line 644 | |||
int partition; | int partition; | |||
bool partitionBoundary; | bool partitionBoundary; | |||
RedCondPair **inConds; | RedCondPair **inConds; | |||
int numInConds; | int numInConds; | |||
RedTransAp **inCondTests; | RedTransAp **inCondTests; | |||
int numInCondTests; | int numInCondTests; | |||
RedNfaTargs *nfaTargs; | RedNfaTargs *nfaTargs; | |||
GenCondSpace *outCondSpace; | ||||
RedCondKeySet outCondKeys; | ||||
}; | }; | |||
/* List of states. */ | /* List of states. */ | |||
typedef DList<RedStateAp> RedStateList; | typedef DList<RedStateAp> RedStateList; | |||
/* Set of reduced transitons. Comparison is by pointer. */ | /* Set of reduced transitons. Comparison is by pointer. */ | |||
typedef BstSet< RedTransAp*, CmpOrd<RedTransAp*> > RedTransSet; | typedef BstSet< RedTransAp*, CmpOrd<RedTransAp*> > RedTransSet; | |||
/* Next version of the fsm machine. */ | /* Next version of the fsm machine. */ | |||
struct RedFsmAp | struct RedFsmAp | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 5 lines changed or added |