notaz.gp2x.de
/
ia32rtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
53b50c9
)
translate: ignore attrs from skipped funcs
author
notaz
<notasas@gmail.com>
Sun, 8 Nov 2015 22:31:06 +0000
(
00:31
+0200)
committer
notaz
<notasas@gmail.com>
Sun, 8 Nov 2015 22:31:06 +0000
(
00:31
+0200)
tools/translate.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/translate.c
b/tools/translate.c
index
7da3b54
..
1ae5c27
100644
(file)
--- a/
tools/translate.c
+++ b/
tools/translate.c
@@
-9725,16
+9725,18
@@
parse_words:
continue;
goto parse_words; // lame
}
continue;
goto parse_words; // lame
}
- if (IS_START(p, "; sctproto:")) {
- sctproto = strdup(p + 11);
- }
else if (IS_START(p, "; sctend")) {
end = 1;
if (!pending_endp)
break;
}
else if (IS_START(p, "; sctend")) {
end = 1;
if (!pending_endp)
break;
}
+ else if (g_skip_func)
+ /* ignore remaining attrs */;
+ else if (IS_START(p, "; sctproto:")) {
+ sctproto = strdup(p + 11);
+ }
else if (IS_START(p, "; sctskip_start")) {
else if (IS_START(p, "; sctskip_start")) {
- if (in_func
&& !g_skip_func
) {
+ if (in_func) {
if (!skip_code) {
ops[pi].op = OPP_ABORT;
ops[pi].asmln = asmln;
if (!skip_code) {
ops[pi].op = OPP_ABORT;
ops[pi].asmln = asmln;