- Implemented ::disqualifySugarFree to prevent lexing arguments that ultimately
  resolve to zero operators.
This commit is contained in:
Paul Beckingham 2014-11-09 16:32:38 -05:00
parent 125b5464dc
commit 61e943f456
2 changed files with 32 additions and 5 deletions

View file

@ -130,6 +130,7 @@ private:
bool disqualifyNoOps (const std::vector <std::pair <std::string, Lexer::Type> >&) const;
bool disqualifyOnlyParenOps (const std::vector <std::pair <std::string, Lexer::Type> >&) const;
bool disqualifyFirstLastBinary (const std::vector <std::pair <std::string, Lexer::Type> >&) const;
bool disqualifySugarFree (const std::vector <std::pair <std::string, Lexer::Type> >&) const;
public:
std::multimap <std::string, std::string> _entities;