projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ac072
)
- consume space between functionname and opening brackets
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Mon, 17 Oct 2005 14:21:06 +0000
(14:21 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Mon, 17 Oct 2005 14:21:06 +0000
(14:21 -0000)
Fixes Rob's issue using busybox awk for building gcc-4_0 optionlist (http://busybox.net/lists/busybox/2005-October/016659.html)
editors/awk.c
patch
|
blob
|
history
diff --git
a/editors/awk.c
b/editors/awk.c
index 087be44a5d3f588708d8070e633f77528ef407f8..d00fcafb171003e51ff90cf1e596992d3a31707a 100644
(file)
--- a/
editors/awk.c
+++ b/
editors/awk.c
@@
-959,10
+959,11
@@
static uint32_t next_token(uint32_t expected)
}
*(p-1) = '\0';
tc = TC_VARIABLE;
+ /* also consume whitespace between functionname and bracket */
+ skip_spaces(&p);
if (*p == '(') {
tc = TC_FUNCTION;
} else {
- skip_spaces(&p);
if (*p == '[') {
p++;
tc = TC_ARRAY;