diff options
| author | Stefan Eßer <se@FreeBSD.org> | 2025-09-11 14:07:46 +0000 | 
|---|---|---|
| committer | Stefan Eßer <se@FreeBSD.org> | 2025-09-11 14:07:46 +0000 | 
| commit | 682da5a0fdb2c38ecc3951047a882471d62aa1d1 (patch) | |
| tree | 9315c84201e10a5b4cec2eda91146cac4e1c904d /include/bc.h | |
| parent | 5a7f1dde93a4c681a5a4246ddabc562a7f7ce14d (diff) | |
Diffstat (limited to 'include/bc.h')
| -rw-r--r-- | include/bc.h | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/include/bc.h b/include/bc.h index 2213278be1da..19159c45e018 100644 --- a/include/bc.h +++ b/include/bc.h @@ -3,7 +3,7 @@   *   * SPDX-License-Identifier: BSD-2-Clause   * - * Copyright (c) 2018-2024 Gavin D. Howard and contributors. + * Copyright (c) 2018-2025 Gavin D. Howard and contributors.   *   * Redistribution and use in source and binary forms, with or without   * modification, are permitted provided that the following conditions are met: @@ -265,9 +265,9 @@ bc_lex_token(BcLex* l);   * @return    An expression entry for bc_parse_exprs[].   */  #define BC_PARSE_EXPR_ENTRY(e1, e2, e3, e4, e5, e6, e7, e8)               \ -	((UINTMAX_C(e1) << 7) | (UINTMAX_C(e2) << 6) | (UINTMAX_C(e3) << 5) | \ -	 (UINTMAX_C(e4) << 4) | (UINTMAX_C(e5) << 3) | (UINTMAX_C(e6) << 2) | \ -	 (UINTMAX_C(e7) << 1) | (UINTMAX_C(e8) << 0)) +	((UINT8_C(e1) << 7) | (UINT8_C(e2) << 6) | (UINT8_C(e3) << 5) | \ +	 (UINT8_C(e4) << 4) | (UINT8_C(e5) << 3) | (UINT8_C(e6) << 2) | \ +	 (UINT8_C(e7) << 1) | (UINT8_C(e8) << 0))  /**   * Returns true if token @a i is a token that belongs in an expression. | 
