From cedd7aa01b42dd8e6c952a461296381a68eaf9f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Magnus=20Landr=C3=B8?= Date: Tue, 29 Oct 2013 08:24:00 +0100 Subject: [PATCH] Fixed build, updated JTcl version and added copyright notices --- pom.xml | 17 +++++++++++++++-- src/main/java/tcl/lang/Expression.java | 2 +- src/test/resources/tcl/lang/cmd/expr.test | 3 ++- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index e80cc88..f17949d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,11 +4,24 @@ com.testcl jtcl-irule jar - 0.8-SNAPSHOT + 0.9-SNAPSHOT http://testcl.com jtcl-irule + An extension which adds proprietary iRule operators to JTcl + + + Sebastian Brzuzek + + + Stefan Magnus Landrø + stefan.landro@bekk.no + BEKK Consulting AS + http://open.bekk.no/ + Europe/Oslo + + - 2.3.0 + 2.6.0 UTF-8 diff --git a/src/main/java/tcl/lang/Expression.java b/src/main/java/tcl/lang/Expression.java index 3dcd069..6255c66 100644 --- a/src/main/java/tcl/lang/Expression.java +++ b/src/main/java/tcl/lang/Expression.java @@ -1309,7 +1309,7 @@ public static void evalBinaryOperator(final Interp interp, final int operator, f value.setIntValue(((value.getIntValue() != 0) && (value2.getIntValue() != 0))); break; case OR: - case ALIASOR + case ALIASOR: if (t2 == ExprValue.DOUBLE) { value2.setIntValue(value2.getDoubleValue() != 0.0); } diff --git a/src/test/resources/tcl/lang/cmd/expr.test b/src/test/resources/tcl/lang/cmd/expr.test index a1a9365..e065917 100755 --- a/src/test/resources/tcl/lang/cmd/expr.test +++ b/src/test/resources/tcl/lang/cmd/expr.test @@ -6,7 +6,8 @@ # # Copyright (c) 1996-1997 Sun Microsystems, Inc. # Copyright (c) 1998-2000 by Scriptics Corporation. -# Copyright (c) 2012 Stefan Magnus Landr� +# Copyright (c) 2012-2013 Stefan Magnus Landrø +# Copyright (c) 2013 Sebastian Brzuzek # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES.