projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't leave classname lyingf around on stack
[supertux.git]
/
tools
/
miniswig
/
lexer.ll
diff --git
a/tools/miniswig/lexer.ll
b/tools/miniswig/lexer.ll
index
4cf0850
..
ac699ab
100644
(file)
--- a/
tools/miniswig/lexer.ll
+++ b/
tools/miniswig/lexer.ll
@@
-100,8
+100,9
@@
namespace { return T_NAMESPACE; }
ns = current_namespace;
// is it a type?
yylval->atomic_type = ns->_findType(yytext, search_down);
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;
return T_ATOMIC_TYPE;
+ }
// or a namespace? (hack for now...)
yylval->_namespace = ns->_findNamespace(yytext, search_down);
if(yylval->_namespace) {
// or a namespace? (hack for now...)
yylval->_namespace = ns->_findNamespace(yytext, search_down);
if(yylval->_namespace) {