diff options
| author | Li Jin <dragon-fly@qq.com> | 2022-10-31 11:32:33 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2022-11-09 11:29:32 +0800 |
| commit | 417ec1a37922c6178900adfec70628cad46731ff (patch) | |
| tree | a5a2d74927ad2c41b5a16264a78409e1c0334b72 /spec/outputs/syntax.lua | |
| parent | 3dd607c8887d2fe0186668aabca31bb84a41e2da (diff) | |
| download | yuescript-417ec1a37922c6178900adfec70628cad46731ff.tar.gz yuescript-417ec1a37922c6178900adfec70628cad46731ff.tar.bz2 yuescript-417ec1a37922c6178900adfec70628cad46731ff.zip | |
fix issue #112 and issue #113.
Diffstat (limited to 'spec/outputs/syntax.lua')
| -rw-r--r-- | spec/outputs/syntax.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/outputs/syntax.lua b/spec/outputs/syntax.lua index 22b6b80..8d41f7d 100644 --- a/spec/outputs/syntax.lua +++ b/spec/outputs/syntax.lua | |||
| @@ -142,6 +142,12 @@ end | |||
| 142 | if cool then | 142 | if cool then |
| 143 | print("what") | 143 | print("what") |
| 144 | end | 144 | end |
| 145 | while not reader:eof() do | ||
| 146 | reader:parse_line() | ||
| 147 | end | ||
| 148 | while not reader:eof() do | ||
| 149 | reader:parse_line() | ||
| 150 | end | ||
| 145 | (function(...) | 151 | (function(...) |
| 146 | local arg = { | 152 | local arg = { |
| 147 | ... | 153 | ... |
