mirror of
https://github.com/cwbaker/lalr.git
synced 2026-09-26 16:33:18 +03:00
20 lines
321 B
C++
20 lines
321 B
C++
#ifndef LALR_GRAMMARSYMBOLLESS_HPP_INCLUDED
|
|
#define LALR_GRAMMARSYMBOLLESS_HPP_INCLUDED
|
|
|
|
namespace lalr
|
|
{
|
|
|
|
class GrammarSymbol;
|
|
|
|
/**
|
|
// Indirectly compare objects through two raw pointers.
|
|
*/
|
|
class GrammarSymbolLess
|
|
{
|
|
public:
|
|
bool operator()( const GrammarSymbol* lhs, const GrammarSymbol* rhs ) const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|