mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
Fix syntax highlighting unicode support (#475)
* convert BasicParser to a template * fix syntax hightlighting with unicode characters
This commit is contained in:
parent
b61f594495
commit
8a8c1525fd
19 changed files with 644 additions and 509 deletions
|
|
@ -9,11 +9,11 @@
|
|||
#include "data/setting.hpp"
|
||||
#include "io/settings_io.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
#include "commons.hpp"
|
||||
#include "BasicParser.hpp"
|
||||
|
||||
using namespace toml;
|
||||
|
||||
class TomlReader : BasicParser {
|
||||
class TomlReader : BasicParser<char> {
|
||||
dv::value root;
|
||||
|
||||
void skipWhitespace() override {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue