// ***************************************************************************
// bamtools_filter_ruleparser.h (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
-// All rights reserved.
// ---------------------------------------------------------------------------
-// Last modified: 21 September 2010
+// Last modified: 10 October 2011
// ---------------------------------------------------------------------------
// Provides a compound rule parser for FilterEngine.
// ***************************************************************************
#ifndef BAMTOOLS_FILTER_RULEPARSER_H
#define BAMTOOLS_FILTER_RULEPARSER_H
+#include "utils/bamtools_utilities.h"
#include <queue>
#include <stack>
#include <string>
-#include "bamtools_utilities.h"
namespace BamTools {
case ( RuleToken::OR_OPERATOR ) : return 1;
case ( RuleToken::LEFT_PARENTHESIS ) : return 0;
case ( RuleToken::RIGHT_PARENTHESIS ) : return 0;
- default: BAMTOOLS_ASSERT_UNREACHABLE;
+ default:
+ BAMTOOLS_ASSERT_UNREACHABLE;
+ return -1;
}
}
} // namespace BamTools
-#endif // BAMTOOLS_FILTER_RULEPARSER_H
\ No newline at end of file
+#endif // BAMTOOLS_FILTER_RULEPARSER_H