From df5757b2cf949e3bb4c3960071556876d2c7cdc2 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Wed, 6 Sep 2017 00:19:56 +0300 Subject: [PATCH] Update simplecpp --- externals/simplecpp/simplecpp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/externals/simplecpp/simplecpp.cpp b/externals/simplecpp/simplecpp.cpp index 9c147fa14..351c24fc4 100644 --- a/externals/simplecpp/simplecpp.cpp +++ b/externals/simplecpp/simplecpp.cpp @@ -1192,6 +1192,7 @@ namespace simplecpp { argtok = argtok->next; } if (!sameline(nametoken, argtok)) { + endToken = argtok ? argtok->previous : argtok; return false; } valueToken = argtok ? argtok->next : NULL;