smelly code in input.c

2021-06-14 Thread Anthony Clayden
(I can't say for sure I have a bug, because I don't grok the code well enough to figure out how to make something go wrong, but ...) In /src/input.c line 1714 https://github.com/FranklinChen/hugs98-plus-Sep2006/blob/master/src/input.c#L1714 , > if (c0=='.' && isIn(c0,(SMALL|LARGE|SYMBOL))) {

Re: smelly code in input.c

2021-06-14 Thread Iavor Diatchki
Hi, I don't not know that code either, but looking at the comments and the surrounding code, my guess is that the 2nd `c0` should be `c1`, and it is checking for something like `.` followed by either a lower case or upper case or symbol operator. -Iavor On Mon, Jun 14, 2021 at 3:48 AM Anthony