diff options
| author | Stefan Eßer <se@FreeBSD.org> | 2022-03-07 22:08:20 +0000 |
|---|---|---|
| committer | Stefan Eßer <se@FreeBSD.org> | 2022-03-07 22:08:20 +0000 |
| commit | 3673adf1ee311d6f83176d3e43cf0efb314764e4 (patch) | |
| tree | e0025bff2224059a1b5a8b538cc8a7cd0a3df637 /include/parse.h | |
| parent | 4dfc0fa2870c28e6a44c223860375a46e52fdade (diff) | |
Diffstat (limited to 'include/parse.h')
| -rw-r--r-- | include/parse.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/parse.h b/include/parse.h index 0088c1523ec6..35ca1652fc98 100644 --- a/include/parse.h +++ b/include/parse.h @@ -263,8 +263,10 @@ void bc_parse_pushName(const BcParse* p, char *name, bool var); * @param p The parser. * @param text The text to lex. * @param is_stdin True if the text is from stdin, false otherwise. + * @param is_exprs True if the text is from command-line expressions, false + * otherwise. */ -void bc_parse_text(BcParse *p, const char *text, bool is_stdin); +void bc_parse_text(BcParse *p, const char *text, bool is_stdin, bool is_exprs); // References to const 0 and 1 strings for special cases. bc and dc have // specific instructions for 0 and 1 because they pop up so often and (in the |
