sky-uk / cqlmigrate

Cassandra schema migration library
BSD 3-Clause "New" or "Revised" License
47 stars 29 forks source link

Comments starting with `//` break parsing #72

Closed oliverlockwood closed 5 years ago

oliverlockwood commented 5 years ago

The list of comment styles in https://github.com/sky-uk/cqlmigrate/blob/master/src/main/java/uk/sky/cqlmigrate/CqlFileParser.java#L45-L48 does not include lines starting with //, which according to https://docs.datastax.com/en/cql/3.1/cql/cql_reference/cqlRefComment.html is perfectly valid.