From d568711258ebb40b4d794844787a029cde0d8416 Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 17 Sep 2010 12:19:11 +0200 Subject: [PATCH] Changed: #825 Remove all warnings when compiling Ryzom --- code/ryzom/tools/pd_parser/templatizer.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/pd_parser/templatizer.cpp b/code/ryzom/tools/pd_parser/templatizer.cpp index 7c7119ea1..862956abd 100644 --- a/code/ryzom/tools/pd_parser/templatizer.cpp +++ b/code/ryzom/tools/pd_parser/templatizer.cpp @@ -40,7 +40,13 @@ enum TTemplatizerToken Unknown }; -struct { TTemplatizerToken Token; const char* Text; } SimpleTokens[] = +struct SToken +{ + TTemplatizerToken Token; + const char* Text; +}; + +SToken SimpleTokens[] = { { BlocStart, "{" }, { BlocEnd, "}" },