git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added test case for invalid escape sequences
[swftools.git]
/
lib
/
as3
/
tokenizer.yy.c
diff --git
a/lib/as3/tokenizer.yy.c
b/lib/as3/tokenizer.yy.c
index
edd6317
..
3dbc43e
100644
(file)
--- a/
lib/as3/tokenizer.yy.c
+++ b/
lib/as3/tokenizer.yy.c
@@
-1471,7
+1471,7
@@
void handleInclude(char*text, int len, char quotes)
filename = strdup(&text[i1]);
}
filename = strdup(&text[i1]);
}
- char*fullfilename = find_file(filename);
+ char*fullfilename = find_file(filename, 1);
enter_file2(filename, fullfilename, YY_CURRENT_BUFFER);
as3_in = fopen(fullfilename, "rb");
if (!as3_in) {
enter_file2(filename, fullfilename, YY_CURRENT_BUFFER);
as3_in = fopen(fullfilename, "rb");
if (!as3_in) {
@@
-2479,7
+2479,7
@@
YY_RULE_SETUP
case 57:
YY_RULE_SETUP
#line 641 "tokenizer.lex"
case 57:
YY_RULE_SETUP
#line 641 "tokenizer.lex"
-{c();BEGIN(INITIAL);return m(':');}
+{c();BEGIN(REGEXPOK);return m(':');}
YY_BREAK
case 58:
YY_RULE_SETUP
YY_BREAK
case 58:
YY_RULE_SETUP