Skip to content
Snippets Groups Projects
Commit 0b8d0706 authored by Erwin Jansen's avatar Erwin Jansen Committed by Gerrit Code Review
Browse files

Merge "Compilation fixes for MSVC"

parents 0eb8ec2e aeedd078
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ void parse_namespace(
const std::filesystem::path& input_file_relative_path,
std::vector<std::string>* token) {
std::filesystem::path gen_namespace = root_namespace / input_file_relative_path;
std::string gen_namespace_str = gen_namespace;
std::string gen_namespace_str = gen_namespace.u8string();
std::regex path_tokenizer("/");
auto it = std::sregex_token_iterator(gen_namespace_str.cbegin(), gen_namespace_str.cend(), path_tokenizer, -1);
std::sregex_token_iterator it_end = {};
......
......@@ -31,8 +31,9 @@
#include "language_y.h"
void yylex_init(void**);
void yylex_destroy(void*);
int yylex_init(void**);
int yylex_destroy(void*);
void yyset_debug(int, void*);
void yyset_in(FILE*, void*);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment