changeset 534:115cae4ac8fd

fix exponentiation operator
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 29 May 2015 01:08:30 -0600
parents 8e51d6071b67
children 289908469e02
files core/src/luan/impl/LuanParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/src/luan/impl/LuanParser.java	Wed May 27 23:40:09 2015 -0600
+++ b/core/src/luan/impl/LuanParser.java	Fri May 29 01:08:30 2015 -0600
@@ -699,7 +699,7 @@
 		if( parser.match('^') ) {
 			Spaces(in);
 			Expressions exp2 = PowExpr(in);
-			exp = new ConcatExpr( se(start), expr(exp), required(expr(exp2)) );
+			exp = new PowExpr( se(start), expr(exp), required(expr(exp2)) );
 		}
 		return parser.success(exp);
 	}