Mercurial Hosting > luan
comparison core/src/luan/impl/LuanParser.java @ 534:115cae4ac8fd
fix exponentiation operator
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 29 May 2015 01:08:30 -0600 |
parents | 8e51d6071b67 |
children | 289908469e02 |
comparison
equal
deleted
inserted
replaced
533:8e51d6071b67 | 534:115cae4ac8fd |
---|---|
697 if( exp==null ) | 697 if( exp==null ) |
698 return parser.failure(null); | 698 return parser.failure(null); |
699 if( parser.match('^') ) { | 699 if( parser.match('^') ) { |
700 Spaces(in); | 700 Spaces(in); |
701 Expressions exp2 = PowExpr(in); | 701 Expressions exp2 = PowExpr(in); |
702 exp = new ConcatExpr( se(start), expr(exp), required(expr(exp2)) ); | 702 exp = new PowExpr( se(start), expr(exp), required(expr(exp2)) ); |
703 } | 703 } |
704 return parser.success(exp); | 704 return parser.success(exp); |
705 } | 705 } |
706 | 706 |
707 private Expressions SingleExpr(In in) throws ParseException { | 707 private Expressions SingleExpr(In in) throws ParseException { |