Skip to content

Commit

Permalink
Update to latest stepcode
Browse files Browse the repository at this point in the history
svn:revision:77973
svn:branch:extbuild
svn:account:starseeker
  • Loading branch information
starseeker committed Dec 15, 2020
1 parent 57db755 commit b0dd456
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/other/ext/stepcode/src/clstepcore/complexSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,30 +193,31 @@ class SC_CORE_EXPORT EntList
EntList *firstNot(JoinType);
EntList *nextNot(JoinType j)
{
return next->firstNot(j);
return (next) ? next->firstNot(j) : NULL;
}
EntList *firstWanted(MatchType);
EntList *nextWanted(MatchType mat)
{
return next->firstWanted(mat);
return (next) ? next->firstWanted(mat) : NULL;
}
EntList *lastNot(JoinType);
EntList *prevNot(JoinType j)
{
return prev->lastNot(j);
return (prev) ? prev->lastNot(j) : NULL;
}
EntList *lastWanted(MatchType);
EntList *prevWanted(MatchType mat)
{
return prev->lastWanted(mat);
return (prev) ? prev->lastWanted(mat) : NULL;
}

JoinType join;
int multiple()
{
return (join != SIMPLE);
}
EntList *next, *prev;
EntList *next = NULL;
EntList *prev = NULL;

protected:
MatchType viable;
Expand Down

0 comments on commit b0dd456

Please sign in to comment.