Lines Matching +full:dc +full:- +full:valid
4 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2018-2024 Gavin D. Howard and contributors.
53 #define bc_lex_err(l, e) (bc_vm_handleError((e), __FILE__, __LINE__, (l)->line))
55 #define bc_lex_err(l, e) (bc_vm_handleError((e), (l)->line))
66 (bc_vm_handleError((e), __FILE__, __LINE__, (l)->line, __VA_ARGS__))
68 #define bc_lex_verr(l, e, ...) (bc_vm_handleError((e), (l)->line, __VA_ARGS__))
74 // BC_LEX_LAST_NUM_CHAR returns the char that corresponds to the last valid
75 // char for numbers. In bc and dc, capital letters are part of numbers, to a
76 // point. (dc only goes up to hex, so its last valid char is 'F'.)
80 #define BC_LEX_NEG_CHAR (BC_IS_BC ? '-' : '_')
83 #define BC_LEX_NEG_CHAR ('-')
95 * Returns true if c is a valid number character.
99 * non-integers are allowed.
100 * @return True if @a c is a valid number character.
112 /// Marker for invalid tokens, used by bc and dc for const data.
126 /// marks all '-' characters as BC_LEX_OP_MINUS, but the parser needs to be
412 /// dc extended registers keyword.
415 /// A special token for dc to calculate equal without a register.
479 /// Scale of number command. This is needed specifically for dc because bc
483 /// Array length command. This is needed specifically for dc because bc
540 * parser is created at runtime to parse read() expressions and dc strings, and
580 * Lexes a general comment (C-style comment).