git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7bd5e
)
fixed include problem on win32
author
kramm
<kramm>
Tue, 22 Apr 2008 09:30:57 +0000
(09:30 +0000)
committer
kramm
<kramm>
Tue, 22 Apr 2008 09:30:57 +0000
(09:30 +0000)
src/parser.lex
patch
|
blob
|
history
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[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] == '"') {