clang
This commit is contained in:
parent
bb58da84ce
commit
9969b522f9
5 changed files with 8 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
|||
"name": "x64-Debug",
|
||||
"generator": "Ninja",
|
||||
"configurationType": "Debug",
|
||||
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||
"inheritEnvironments": [ "clang_cl_x64_x64" ],
|
||||
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
||||
"installRoot": "${projectDir}\\out\\install\\${name}",
|
||||
"cmakeCommandArgs": "",
|
||||
|
|
|
@ -111,8 +111,6 @@ namespace NVL
|
|||
Context this_context = parent_context;
|
||||
this_context.Scope_Hierarchy.push_back(this_object);
|
||||
|
||||
char start = nvl.peek();
|
||||
|
||||
nvl >> std::ws;
|
||||
|
||||
std::streampos end; // unused if object is not scoped
|
||||
|
@ -204,7 +202,7 @@ namespace NVL
|
|||
|
||||
parse_Object<true, true>(this_context, nvl);
|
||||
|
||||
while (nvl.peek() != '!n' && nvl.peek() != '}')
|
||||
while (nvl.peek() != '\n' && nvl.peek() != '}')
|
||||
{
|
||||
parse_Object<true, false>(this_context, nvl);
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#include "NVL.h"
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
const std::string PJ_DIR = "E:\\Archive\\Projects\\NouVeL\\";
|
||||
|
||||
NVL::Tree tree;
|
||||
NVL::parse_NVL(tree, PJ_DIR + "test.nvl");
|
||||
|
||||
NVL::parse_NVL(tree, PJ_DIR + "test_j.nvl");
|
||||
tree.Print(0);
|
||||
|
||||
return 0;
|
||||
|
|
2
test.nvl
2
test.nvl
|
@ -1,3 +1,3 @@
|
|||
mmawesome {
|
||||
lmao [gkepokge hee hee [2323.4 535 3434]]
|
||||
lmao [gkeposkge hee hee [2323.4 535 3434]]
|
||||
}
|
||||
|
|
3
test_j.nvl
Normal file
3
test_j.nvl
Normal file
|
@ -0,0 +1,3 @@
|
|||
mmawesome {
|
||||
lmao [gkedddadadだsdadge hee hee [2323.4 535 3434]]
|
||||
}
|
Loading…
Add table
Reference in a new issue