kputnam / piggly

PL/pgSQL stored procedure code coverage tool
Other
69 stars 14 forks source link

Improve keyword parsing #41

Closed kputnam closed 6 years ago

kputnam commented 6 years ago

Parser might be simplified by changing each keyword rule to have a negative look-ahead assertion that the next character is not alpha-numeric. This could improve parsing rules for statements like RAISE; and RAISE WARNING; and RAISE INFO 'message'; which have complicated whitespace rules (to ensure tokens are separated)

kputnam commented 6 years ago

... this is already implemented!