From 417ec1a37922c6178900adfec70628cad46731ff Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 31 Oct 2022 11:32:33 +0800 Subject: fix issue #112 and issue #113. --- spec/inputs/literals.yue | 5 +++++ spec/inputs/syntax.yue | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'spec/inputs') diff --git a/spec/inputs/literals.yue b/spec/inputs/literals.yue index d4b0326..8b81fde 100644 --- a/spec/inputs/literals.yue +++ b/spec/inputs/literals.yue @@ -23,6 +23,11 @@ _ = { 0x2aLL 0x2aULL + 1_000_000.000_000_1 + 1_234e567_8 + 1_234E-567_8 + 0xDE_AD_BE_EF + [[ hello world ]] [=[ hello world ]=] diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue index e274f1a..1e01a26 100644 --- a/spec/inputs/syntax.yue +++ b/spec/inputs/syntax.yue @@ -142,6 +142,10 @@ if hello then _ = 343 print "what" if cool +reader\parse_line! until reader\eof! + +reader\parse_line! while not reader\eof! + ((...)-> arg = {...})! x = (...) -> -- cgit v1.2.3-55-g6feb