aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_util.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-20 10:50:10 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-20 10:50:10 +1000
commit568803568043345e7971403f03769a485a73939c (patch)
tree56b3b435e6bd0448ccd90cf90b3e01470ab89ff6 /parse_util.h
parent43b6b703ff56ed4a4194d26811823a6c4e545a87 (diff)
Large number of sourcecode comment edits, and some minor code polish
darcs-hash:20060620005010-ac50b-eaeae9a6242a37c1e34831e1a0b2ee2b4e7a012e.gz
Diffstat (limited to 'parse_util.h')
-rw-r--r--parse_util.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/parse_util.h b/parse_util.h
index d484dc5d..9120ca85 100644
--- a/parse_util.h
+++ b/parse_util.h
@@ -22,7 +22,7 @@
int parse_util_locate_cmdsubst( const wchar_t *in,
wchar_t **begin,
wchar_t **end,
- int allow_incomplete );
+ int flags );
/**
Find the beginning and end of the command substitution under the cursor
@@ -65,12 +65,16 @@ void parse_util_job_extent( const wchar_t *buff,
wchar_t **b );
/**
- Find the beginning and end of the token under the cursor
+ Find the beginning and end of the token under the cursor and the
+ toekn before the current token. Any combination of tok_begin,
+ tok_end, prev_begin and prev_end may be null.
\param buff the string to search for subshells
\param cursor_pos the position of the cursor
- \param a the start of the searched string
- \param b the end of the searched string
+ \param tok_begin the start of the current token
+ \param tok_end the end of the current token
+ \param prev_begin the start o the token before the current token
+ \param prev_end the end of the token before the current token
*/
void parse_util_token_extent( const wchar_t *buff,
int cursor_pos,