source: icGREP/icgrep-devel/icgrep/re/parsefailure.cpp @ 5149

Last change on this file since 5149 was 4187, checked in by nmedfort, 5 years ago

Some refactoring of the RE CC class and CC Compiler; Moved RE into re subdirectory.

File size: 421 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#include "parsefailure.h"
8
9ParseFailure::ParseFailure(const std::string && msg) noexcept
10: _msg(msg)
11{
12
13}
14
15ParseFailure::~ParseFailure() noexcept { }
16
17const char* ParseFailure::what() const noexcept {
18    return _msg.c_str();
19}
Note: See TracBrowser for help on using the repository browser.