projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9348c6
)
Fix tinygettext problems with multi-line comments at end of file
author
Christoph Sommer
<mail@christoph-sommer.de>
Sat, 5 Jan 2008 19:08:12 +0000
(19:08 +0000)
committer
Christoph Sommer
<mail@christoph-sommer.de>
Sat, 5 Jan 2008 19:08:12 +0000
(19:08 +0000)
SVN-Revision: 5250
src/tinygettext/tinygettext.cpp
patch
|
blob
|
history
diff --git
a/src/tinygettext/tinygettext.cpp
b/src/tinygettext/tinygettext.cpp
index
d22ae2a
..
2946f7f
100644
(file)
--- a/
src/tinygettext/tinygettext.cpp
+++ b/
src/tinygettext/tinygettext.cpp
@@
-709,6
+709,9
@@
public:
{
state = SKIP_COMMENT;
}
+ else if (c == '\n')
+ {
+ }
else
{
// Read a new token
@@
-736,6
+739,7
@@
public:
in.unget();
state = READ_KEYWORD;
add_token(token);
+ token = Token();
break;
}
}
@@
-774,6
+778,7
@@
public:
}
}
add_token(token);
+ token = Token();
}
};