projects
/
cycript.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58afc6a
)
Location step should come before sliding position.
author
Jay Freeman (saurik)
<saurik@saurik.com>
Mon, 2 Nov 2015 13:18:38 +0000
(
05:18
-0800)
committer
Jay Freeman (saurik)
<saurik@saurik.com>
Mon, 2 Nov 2015 13:18:38 +0000
(
05:18
-0800)
Cycript.l.in
patch
|
blob
|
blame
|
history
diff --git
a/Cycript.l.in
b/Cycript.l.in
index d52a19b5c6864b29e180c822f653e88b64fb4078..417afe3ecd7624f081ef66f5d884ff96e5cf3d80 100644
(file)
--- a/
Cycript.l.in
+++ b/
Cycript.l.in
@@
-80,9
+80,9
@@
typedef cy::parser::token tk;
left = yyleng - (nl - yytext) - 1; \
nl = reinterpret_cast<const char *>(memchr(nl + 1, '\n', left)); \
} while (nl != NULL); \
+ yylloc->step(); \
yylloc->end.lines(lines); \
yylloc->end.columns(left); \
- yylloc->step(); \
more \
} else L \
}
@@
-418,7
+418,7
@@
XMLName {XMLNameStart}{XMLNamePart}*
I(string, String(value, local - value), tk::StringLiteral, hi::Constant);
}
-\r?\n|\r|\xe2\x80[\xa8\xa9] yylloc->
end.lines(); yylloc->step
(); N
+\r?\n|\r|\xe2\x80[\xa8\xa9] yylloc->
step(); yylloc->end.lines
(); N
[ \t] L