From f88c3a9c1fd85fa2016e18fbfcb2e729968423b6 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 20 Jan 2024 10:12:37 +0900 Subject: [PATCH] added a new error case. the case yet to be resolved in implementation --- t/Makefile.am | 1 + t/Makefile.in | 1 + t/feed-02.err | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 100644 t/feed-02.err diff --git a/t/Makefile.am b/t/Makefile.am index 32dd64c..75a590f 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -15,6 +15,7 @@ check_ERRORS = \ do-01.err \ do-02.err \ feed-01.err \ + feed-02.err \ mlist-01.err \ var-01.err \ var-02.err \ diff --git a/t/Makefile.in b/t/Makefile.in index eb733e7..ef0ea0d 100644 --- a/t/Makefile.in +++ b/t/Makefile.in @@ -486,6 +486,7 @@ check_ERRORS = \ do-01.err \ do-02.err \ feed-01.err \ + feed-02.err \ mlist-01.err \ var-01.err \ var-02.err \ diff --git a/t/feed-02.err b/t/feed-02.err new file mode 100644 index 0000000..63bddfc --- /dev/null +++ b/t/feed-02.err @@ -0,0 +1,8 @@ +## while EOL is ignored in explicitly parenthesized XLIST, a semicolon must not be. +(printf + "hello, world\n" +) + +(printf; ##ERROR: synax error - unexpected semicolon + "hello, world\n" +)