allow h_bind's function argument to return NULL as a shortcut for h_nothing_p()
This commit is contained in:
parent
42d51ed479
commit
78266af453
3 changed files with 21 additions and 11 deletions
|
|
@ -675,7 +675,7 @@ HAMMER_FN_DECL(HParser*, h_get_value, const char* name);
|
|||
* Sequencing where later parsers may depend on the result(s) of earlier ones.
|
||||
*
|
||||
* Run p and call the result x. Then run k(env,x). Fail if p fails or if
|
||||
* k(env,x) fails.
|
||||
* k(env,x) fails or if k(env,x) is NULL.
|
||||
*
|
||||
* Result: the result of k(x,env).
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue