[Snek] [keith-packard/snek] 409e68: While recovering from syntax errors, set snek_igno...

Keith Packard noreply at github.com
Tue Feb 12 10:56:45 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: 409e680f97cf5ee8e9c47c41bea1826796720caa
      https://github.com/keith-packard/snek/commit/409e680f97cf5ee8e9c47c41bea1826796720caa
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M snek-parse.c

  Log Message:
  -----------
  While recovering from syntax errors, set snek_ignore_nl before each token

If there are extra parens or brackets on the line, then snek_ignore_nl
will get set and newlines will not get returned to terminate the
recovery process.

Reported-by: fanoush
Signed-off-by: Keith Packard <keithp at keithp.com>




More information about the Snek mailing list