mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
Update version number to 3.0.5 and fix code inconsistency
This commit is contained in:
@@ -10,8 +10,8 @@ var Args = os.Args[1:]
|
|||||||
|
|
||||||
type stack = []ArObject
|
type stack = []ArObject
|
||||||
|
|
||||||
const VERSION = "3.0.4-3"
|
const VERSION = "3.0.5"
|
||||||
const VERSION_NUM = 2
|
const VERSION_NUM = 3
|
||||||
|
|
||||||
func newscope() ArObject {
|
func newscope() ArObject {
|
||||||
return Map(anymap{})
|
return Map(anymap{})
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ func parseOperations(code UNPARSEcode, index int, codelines []UNPARSEcode) (oper
|
|||||||
operation: i,
|
operation: i,
|
||||||
values: values,
|
values: values,
|
||||||
line: code.line,
|
line: code.line,
|
||||||
code: code.code,
|
code: code.realcode,
|
||||||
path: code.path,
|
path: code.path,
|
||||||
}, true, ArErr{}, totalStep
|
}, true, ArErr{}, totalStep
|
||||||
}
|
}
|
||||||
@@ -680,7 +680,7 @@ func equals(a any, b any, o operationType, stack stack, stacklevel int) (bool, A
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if x, ok := b.(ArObject); ok {
|
if x, ok := b.(ArObject); ok {
|
||||||
if y, ok := x.obj["__GreaterThanEqual__"]; ok {
|
if y, ok := x.obj["__Equal__"]; ok {
|
||||||
val, err := runCall(
|
val, err := runCall(
|
||||||
call{
|
call{
|
||||||
y,
|
y,
|
||||||
|
|||||||
Reference in New Issue
Block a user