From 2f292bd348d2ab28b27546e1b64a610a163d4170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 22 Jul 2014 21:04:03 -0700 Subject: [PATCH] Removed need for varying.def semicolont terminator. --- tools/shaderc/shaderc.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/shaderc/shaderc.cpp b/tools/shaderc/shaderc.cpp index a4b5633d..e4d76896 100644 --- a/tools/shaderc/shaderc.cpp +++ b/tools/shaderc/shaderc.cpp @@ -1929,6 +1929,11 @@ int main(int _argc, const char* _argv[]) { parse = bx::strws(parse); const char* eol = strchr(parse, ';'); + if (NULL == eol) + { + eol = bx::streol(parse); + } + if (NULL != eol) { const char* precision = NULL;