From 96dcb1a6dae0bd50a24246622c37eacf5a6c1d72 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, "}" },