When read_string is called in the lexer with an input such as digraph { a -> b; " } it will never terminate. This is because the while loop in read_string does not take into account EOF occuring before the string is closed. I've changed the lexer so that this no longer occurs and added a test to confirm that it is fixed.
When read_string is called in the lexer with an input such as
digraph { a -> b; " }
it will never terminate. This is because the while loop in read_string does not take into account EOF occuring before the string is closed. I've changed the lexer so that this no longer occurs and added a test to confirm that it is fixed.