bc: Fix typo - sbase - suckless unix tools
HTML git clone git://git.suckless.org/sbase
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 74096de403e3fd43bae726c45d9087b47d92f19b
DIR parent 02db7b173a56839fbb69a0d861c731fb987df4df
HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Thu, 22 Jan 2026 11:26:18 +0100
bc: Fix typo
Diffstat:
M bc.y | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/bc.y b/bc.y
@@ -593,7 +593,7 @@ iden(int ch)
ungetc(ch, filep);
for (bp = yytext; bp < &yytext[BUFSIZ]; ++bp) {
ch = getc(filep);
- if (!isascii || !islower(ch))
+ if (!isascii(ch) || !islower(ch))
break;
*bp = ch;
}