Hello,
When I try to compile a script with swfc, I have a problem with the
.include directive
My files are PC formatted (end of lines with 0d 0a), and the
HandleInclude function doesn't =handle correctly thes lines.
I just sugggest you a small modification in this function
while(len >= 1 && (text[len-1] == ' ' || text[len-1] == '\n' )) {
len--;
}
could become
while(len >= 1 && (text[len-1] == ' ' || text[len-1] == '\n' ||
text[len-1] == '\r')) {
len--;
}
and PC (and also Mac) files will be correctly handled
Regards