Parser: Fix a build issue (VS2012).

This commit is contained in:
Rex Xu 2016-03-22 15:42:07 +08:00
Родитель 5ace09a75b
Коммит 4e8bf59778
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -357,8 +357,9 @@ public:
{
static const char unexpected_include[] =
"unexpected include directive";
return new IncludeResult(
{"", unexpected_include, sizeof(unexpected_include) - 1, nullptr});
static const IncludeResult unexpectedIncludeResult =
{"", unexpected_include, sizeof(unexpected_include) - 1, nullptr};
return new IncludeResult(unexpectedIncludeResult);
}
virtual void releaseInclude(IncludeResult* result) override
{