mirror of
https://github.com/cwbaker/lalr.git
synced 2026-09-27 00:43:19 +03:00
14 lines
309 B
C++
14 lines
309 B
C++
//
|
|
// RegexStateLess.cpp
|
|
// Copyright (c) Charles Baker. All rights reserved
|
|
//
|
|
|
|
#include "RegexStateLess.hpp"
|
|
#include "RegexState.hpp"
|
|
|
|
using namespace lalr;
|
|
|
|
bool RegexStateLess::operator()( const std::unique_ptr<RegexState>& lhs, const std::unique_ptr<RegexState>& rhs ) const
|
|
{
|
|
return *lhs < *rhs;
|
|
}
|