[Snek] [keith-packard/snek] 8bb17e: Accept missing newline at end of file

Keith Packard noreply at github.com
Mon Dec 13 13:00:34 PST 2021


  Branch: refs/heads/handle-missing-nl
  Home:   https://github.com/keith-packard/snek
  Commit: 8bb17e7426f3ca440f86728d140f1d445bbad92d
      https://github.com/keith-packard/snek/commit/8bb17e7426f3ca440f86728d140f1d445bbad92d
  Author: Keith Packard <keithp at keithp.com>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M snek-gram.ll

  Log Message:
  -----------
  Accept missing newline at end of file

Accept either 'NL' or 'END' at the end of a simple statement so that
programs that end without a NL will still work correctly.

Closes #39

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




More information about the Snek mailing list