parent
8fd6beed11
commit
9d7c77b881
1 changed files with 3 additions and 3 deletions
|
@ -206,7 +206,7 @@ rwx_parse() {
|
|||
local start="^${ws}"
|
||||
local constant="[_A-Z][_0-9A-Z]*"
|
||||
local setting="=.*"
|
||||
local fn="${ws}(${ws})${ws}{"
|
||||
local func="${ws}(${ws})${ws}{.*"
|
||||
local id="[_a-zA-Z][_a-z0-9A-Z]*"
|
||||
local line
|
||||
rwx_ifs_set
|
||||
|
@ -219,8 +219,8 @@ rwx_parse() {
|
|||
done
|
||||
RWX_FUNCTIONS=""
|
||||
for line in $(echo "${RWX_CODE}" |
|
||||
grep "${start}${id}${fn}" |
|
||||
sed "s|${start}\\(${id}\\)${fn}.*|\\1|"); do
|
||||
grep "${start}${id}${func}" |
|
||||
sed "s|${start}\\(${id}\\)${func}|\\1|"); do
|
||||
RWX_FUNCTIONS="${RWX_FUNCTIONS}${line}
|
||||
"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue