Mercurial Hosting > luan
comparison core/src/luan/impl/LuanParser.java @ 274:8afe9f2fdfec
AB testing, not fully tested
git-svn-id: https://luan-java.googlecode.com/svn/trunk@275 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Mon, 10 Nov 2014 03:28:32 +0000 |
parents | 82a3ebcfbafa |
children | fed1893821bf |
comparison
equal
deleted
inserted
replaced
273:073044e3ac03 | 274:8afe9f2fdfec |
---|---|
560 if( !parser.match( '=' ) ) | 560 if( !parser.match( '=' ) ) |
561 return parser.failure(null); | 561 return parser.failure(null); |
562 Spaces(In.NOTHING); | 562 Spaces(In.NOTHING); |
563 Expressions values = ExpList(In.NOTHING); | 563 Expressions values = ExpList(In.NOTHING); |
564 if( values==null ) | 564 if( values==null ) |
565 throw parser.exception("Expressions expected"); | 565 // throw parser.exception("Expressions expected"); |
566 return parser.failure(null); | |
566 return parser.success( new SetStmt( vars.toArray(new Settable[0]), values ) ); | 567 return parser.success( new SetStmt( vars.toArray(new Settable[0]), values ) ); |
567 } | 568 } |
568 | 569 |
569 private Stmt ExpressionsStmt() throws ParseException { | 570 private Stmt ExpressionsStmt() throws ParseException { |
570 parser.begin(); | 571 parser.begin(); |