Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eman-Shaaban committed Jan 21, 2017
1 parent 6e277cb commit 7292dd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cql-parser/src/main/scala/troy/cql/parser/CqlParser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ object CqlParser extends JavaTokenParsers
str | blob | uuid | floats | int | boolean | nullConst
}

// Comments Parser
// Ignores comments
protected override val whiteSpace = """(\s|//.*|--.*|(?m)/\*(\*(?!/)|[^*])*\*/)+""".r
def comment = ident+

def identifier: Parser[Identifier] = "[a-zA-Z0-9_]+".r.filter(k => !Keywords.contains(k.toUpperCase))

Expand Down

0 comments on commit 7292dd8

Please sign in to comment.