From c98c6053635ddfca7aab15b268b0f2c1fcc0c6ef Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 29 Jun 2023 10:58:56 +0800 Subject: fix issue #139. --- spec/inputs/goto.yue | 8 ++++---- spec/inputs/import.yue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'spec/inputs') diff --git a/spec/inputs/goto.yue b/spec/inputs/goto.yue index 61584ca..3f3ae89 100644 --- a/spec/inputs/goto.yue +++ b/spec/inputs/goto.yue @@ -16,10 +16,10 @@ do do for z = 1, 10 for y = 1, 10 do for x = 1, 10 - if x^2 + y^2 == z^2 - print 'found a Pythagorean triple:', x, y, z - print 'now trying next z...' - goto zcontinue + if x^2 + y^2 == z^2 + print 'found a Pythagorean triple:', x, y, z + print 'now trying next z...' + goto zcontinue ::zcontinue:: do diff --git a/spec/inputs/import.yue b/spec/inputs/import.yue index fe5caf5..73e05d2 100644 --- a/spec/inputs/import.yue +++ b/spec/inputs/import.yue @@ -7,7 +7,7 @@ import x, \y, z from items import master, \ghost from find "mytable" -_table_0 = 232 +_obj_0 = 232 import something from a table -- cgit v1.2.3-55-g6feb