Skip to content

Commit d9ed32c

Browse files
committedJan 5, 2020
Made syntax tollerant to whitespace at the end
1 parent 54e8c4f commit d9ed32c

File tree

1 file changed

+2
-2
lines changed
  • core/src/main/scala/de/upb/cs/swt/delphi/core/ql

1 file changed

+2
-2
lines changed
 

‎core/src/main/scala/de/upb/cs/swt/delphi/core/ql/Syntax.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ import org.parboiled2.{CharPredicate, Parser, ParserInput, Rule1}
2222
* The syntax definition and parser for the Delphi QL.
2323
*
2424
* @author Lisa Nguyen Quang Do
25-
* @author Ben Hermann
25+
* @author Ben Hermann~
2626
*
2727
*/
2828
class Syntax(val input : ParserInput) extends Parser {
2929

3030
def QueryRule = rule {
31-
CombinatorialRule ~ zeroOrMore(Whitespace ~ FieldSelection) ~ EOI ~> Query
31+
CombinatorialRule ~ zeroOrMore(Whitespace ~ FieldSelection) ~ Whitespace ~ EOI ~> Query
3232
}
3333

3434

0 commit comments

Comments
 (0)
Please sign in to comment.