git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure option for external libart (patch from Patrice Dumas)
[swftools.git]
/
src
/
parser.lex
diff --git
a/src/parser.lex
b/src/parser.lex
index
297bab2
..
291fc9c
100644
(file)
--- a/
src/parser.lex
+++ b/
src/parser.lex
@@
-168,7
+168,7
@@
void handleInclude(char*text, int len)
while(len >=1 && (text[0] == ' ' || text[0] == '\t')) {
text++;len--;
}
while(len >=1 && (text[0] == ' ' || text[0] == '\t')) {
text++;len--;
}
- while(len >= 1 && (text[len-1] == ' ' || text[len-1] == '\n')) {
+ while(len >= 1 && (text[len-1] == ' ' || text[len-1] == "\r" || text[len-1] == '\n')) {
len--;
}
if(len >= 2 && text[0] == '"' && text[len-1] == '"') {
len--;
}
if(len >= 2 && text[0] == '"' && text[len-1] == '"') {