diff options
author | Adrian Thurston <thurston@complang.org> | 2012-05-10 07:24:09 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2012-05-10 07:24:09 -0400 |
commit | dd10af6ded5bc84fe4caedf2b879e96dec2b404c (patch) | |
tree | f784e162cf40fe0467fb3b6b013274c628bf0bec /colm/fsmgraph.h | |
parent | c59a90a04d8cc199b34490a78111f258132beca1 (diff) | |
download | colm-dd10af6ded5bc84fe4caedf2b879e96dec2b404c.tar.gz |
Fixed some warnings. Removed some old ignore-in-parse-tree code.
Diffstat (limited to 'colm/fsmgraph.h')
-rw-r--r-- | colm/fsmgraph.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/colm/fsmgraph.h b/colm/fsmgraph.h index b66d487c..fca23cc1 100644 --- a/colm/fsmgraph.h +++ b/colm/fsmgraph.h @@ -720,7 +720,7 @@ template <class ListItem1, class ListItem2> PairIter<ListItem1, ListItem2>::Pair #define CO_RETURN(label) \ itState = label; \ return; \ - entry##label: backIn = true + entry##label: {} /* Return and re-entry for the co-routine iterators. This should ALWAYS be * used inside of a block. */ @@ -728,16 +728,12 @@ template <class ListItem1, class ListItem2> PairIter<ListItem1, ListItem2>::Pair itState = label; \ userState = uState; \ return; \ - entry##label: backIn = true + entry##label: {} /* Advance to the next transition. When returns, trans points to the next * transition, unless there are no more, in which case end() returns true. */ template <class ListItem1, class ListItem2> void PairIter<ListItem1, ListItem2>::findNext() { - /* This variable is used in dummy statements that follow the entry - * goto labels. The compiler needs some statement to follow the label. */ - bool backIn; - /* Jump into the iterator routine base on the iterator state. */ switch ( itState ) { case Begin: goto entryBegin; |