atom / language-sql

SQL package for Atom
Other
38 stars 50 forks source link

Tokenize DEFAULT modifier #49

Closed caleb531 closed 7 years ago

caleb531 commented 7 years ago

Hi,

This PR tokenizes the SQL DEFAULT modifier:

Before:

screen shot 2016-11-22 at 1 22 33 pm

After:

screen shot 2016-11-22 at 1 22 45 pm

I didn't feel any additional tests were necessary, since I assigned this modifier the same classification as the UNIQUE modifier (which I already added to the grammar with a test back in #46). All tests are still passing, though. :)