Add GCC backend glue
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public License
|
||||
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
|
||||
// obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#include "elna/source/driver.h"
|
||||
|
||||
namespace elna
|
||||
@@ -13,7 +16,7 @@ namespace source
|
||||
}
|
||||
|
||||
syntax_error::syntax_error(const std::string& message,
|
||||
const std::filesystem::path& input_file, const yy::location& location)
|
||||
const char *input_file, const yy::location& location)
|
||||
: error(input_file, make_position(location)), message(message)
|
||||
{
|
||||
}
|
||||
@@ -23,7 +26,7 @@ namespace source
|
||||
return message;
|
||||
}
|
||||
|
||||
driver::driver(const std::filesystem::path& input_file)
|
||||
driver::driver(const char *input_file)
|
||||
: input_file(input_file)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user