commit | df5f5497b8565131024a8dcadc91d72409e04902 | [log] [tgz] |
---|---|---|
author | Olly Betts <olly@survex.com> | Tue May 23 16:39:36 2023 +1200 |
committer | Olly Betts <olly@survex.com> | Tue May 23 17:56:03 2023 +1200 |
tree | d1517647d61f76e65a73d536866873eb1f738ec5 | |
parent | 5cc90e6f5b321cae8e7290dc055d3e13543a2155 [diff] |
Suppress syntax error after skip_balanced() fails In this situation, skip_balanced() reports a useful error such as (the '}' part varies depending what we're trying to skip over): Error: Missing '}'. Reached end of input. We now exit after such failures which avoids reporting a second more generic error like: Error: Syntax error in input(1). or: Error: Syntax error in input(3). Fixes #2606