don't leave classname lyingf around on stack
[supertux.git] / tools / miniswig / lexer.ll
index 4cf0850..ac699ab 100644 (file)
@@ -100,8 +100,9 @@ namespace                               { return T_NAMESPACE; }
             ns = current_namespace;          
         // is it a type?
         yylval->atomic_type = ns->_findType(yytext, search_down);
-        if(yylval->atomic_type)
+        if(yylval->atomic_type) {
             return T_ATOMIC_TYPE;
+        }
         // or a namespace? (hack for now...)
         yylval->_namespace = ns->_findNamespace(yytext, search_down);
         if(yylval->_namespace) {