branch: externals/parser-generator commit ac7a9abcaecd48a924a79512c90bfffa4d36e4c0 Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
Added TODO items --- test/parser-generator-lr-test.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/parser-generator-lr-test.el b/test/parser-generator-lr-test.el index c087302..f0327b4 100644 --- a/test/parser-generator-lr-test.el +++ b/test/parser-generator-lr-test.el @@ -455,7 +455,8 @@ ((looking-at ";") (setq token `(";" ,(match-beginning 0) . ,(match-end 0)))) ((looking-at "[a-zA-Z]+") - (setq token `(VARIABLE ,(match-beginning 0) . ,(match-end 0))))) + (setq token `(VARIABLE ,(match-beginning 0) . ,(match-end 0)))) + (t (error "Invalid syntax! Could not lex-analyze at %s!" (point)))) token))))) (setq @@ -483,8 +484,6 @@ (kill-buffer buffer)) (message "Passed test with translation 2") - ;; TODO Add incremental translation here - (let ((buffer (generate-new-buffer "*a*"))) (switch-to-buffer buffer) (insert "if (a) { b; }")