aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/bc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index fbe671fd3..656ecd892 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -6987,6 +6987,7 @@ static BcStatus bc_vm_stdin(void)
6987 // with a backslash to the parser. The reason for that is because the parser 6987 // with a backslash to the parser. The reason for that is because the parser
6988 // treats a backslash+newline combo as whitespace, per the bc spec. In that 6988 // treats a backslash+newline combo as whitespace, per the bc spec. In that
6989 // case, and for strings and comments, the parser will expect more stuff. 6989 // case, and for strings and comments, the parser will expect more stuff.
6990 s = BC_STATUS_SUCCESS;
6990 while (!G.eof && (s = bc_read_line(&buf, ">>> ")) == BC_STATUS_SUCCESS) { 6991 while (!G.eof && (s = bc_read_line(&buf, ">>> ")) == BC_STATUS_SUCCESS) {
6991 6992
6992 char *string = buf.v; 6993 char *string = buf.v;