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