[Snek] [keith-packard/snek] a7eada: ports/posix: Treat sigint specially to avoid exiti...

Keith Packard noreply at github.com
Tue Apr 13 20:10:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/keith-packard/snek
  Commit: a7eadabf673a8387850300eed41105a1cd92e30e
      https://github.com/keith-packard/snek/commit/a7eadabf673a8387850300eed41105a1cd92e30e
  Author: Keith Packard <keithp at keithp.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M ports/posix/snek-main.c

  Log Message:
  -----------
  ports/posix: Treat sigint specially to avoid exiting on error

Need to figure out if snek_abort was set due to sigint or some other
error and handle that specially. Otherwise, snek would exit on the
first syntax error found in the input.

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




More information about the Snek mailing list