Operator '@@' (export-all) added. Experimental include() function also added

This commit is contained in:
2024-04-06 03:06:07 +02:00
parent ce6b88ccdd
commit 7612a59757
10 changed files with 108 additions and 29 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ func newAndTerm(tk *Token) (inst *term) {
}
func evalAnd(ctx exprContext, self *term) (v any, err error) {
if isEnabled(ctx, preset_bool_shortcut) {
if isEnabled(ctx, control_bool_shortcut) {
v, err = evalAndWithShortcut(ctx, self)
} else {
v, err = evalAndWithoutShortcut(ctx, self)
@@ -119,7 +119,7 @@ func newOrTerm(tk *Token) (inst *term) {
}
func evalOr(ctx exprContext, self *term) (v any, err error) {
if isEnabled(ctx, preset_bool_shortcut) {
if isEnabled(ctx, control_bool_shortcut) {
v, err = evalOrWithShortcut(ctx, self)
} else {
v, err = evalOrWithoutShortcut(ctx, self)