mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 00:46: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
|
||||
|
||||
const VERSION = "3.0.4-3"
|
||||
const VERSION_NUM = 2
|
||||
const VERSION = "3.0.5"
|
||||
const VERSION_NUM = 3
|
||||
|
||||
func newscope() ArObject {
|
||||
return Map(anymap{})
|
||||
|
||||
@@ -82,7 +82,7 @@ func parseOperations(code UNPARSEcode, index int, codelines []UNPARSEcode) (oper
|
||||
operation: i,
|
||||
values: values,
|
||||
line: code.line,
|
||||
code: code.code,
|
||||
code: code.realcode,
|
||||
path: code.path,
|
||||
}, 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 y, ok := x.obj["__GreaterThanEqual__"]; ok {
|
||||
if y, ok := x.obj["__Equal__"]; ok {
|
||||
val, err := runCall(
|
||||
call{
|
||||
y,
|
||||
|
||||
Reference in New Issue
Block a user