aboutsummaryrefslogtreecommitdiff
path: root/src/amberscript/parser_test.cc
diff options
context:
space:
mode:
authordan sinclair <dj2@everburning.com>2018-12-11 15:43:25 -0500
committerGitHub <noreply@github.com>2018-12-11 15:43:25 -0500
commitb3345aa89955dd0ef49680ac30534cdf915e2482 (patch)
tree7b0e32b8444ba470e2358eddcc9e51786de6e1a7 /src/amberscript/parser_test.cc
parentfb1ade89cc3b73c63c4295d3b2b6eddfd8972a6b (diff)
downloadamber-b3345aa89955dd0ef49680ac30534cdf915e2482.tar.gz
Count line numbers in VkScript (#171)
* Count line numbers in VkScript This CL adds line counting to the VkScript parser to give more context in error messages. Issue #113
Diffstat (limited to 'src/amberscript/parser_test.cc')
-rw-r--r--src/amberscript/parser_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amberscript/parser_test.cc b/src/amberscript/parser_test.cc
index 03f3fe8..1331960 100644
--- a/src/amberscript/parser_test.cc
+++ b/src/amberscript/parser_test.cc
@@ -302,7 +302,8 @@ void main() {
}
)";
- std::string in = "SHADER " + std::string(test_data.name) + R"( my_shader GLSL
+ std::string in = "SHADER " + std::string(test_data.name) +
+ R"( my_shader GLSL
)" + shader_result +
"END";