JohnNilsson / awk-sublime

Awk syntax highlighting in Sublime Text
MIT License
25 stars 6 forks source link

/a=/ Isn't Handled Correctly #5

Closed TaylorSanchez closed 10 years ago

TaylorSanchez commented 10 years ago

I just found out today that you could make awk files, I was under the impression that it was for inline type of usage. So hopefully I can give useful feedback. It is the backslash, alpha, equal, backslash combination that is causing the problem. /a=/

The specific case for the code I am working on was: sub (/primary=/, "", primary_name);

2014-05-05 09_38_53-untitled - sublime text 2

JohnNilsson commented 10 years ago

Turns out it's not the equal thing at all that is at fault. It's that the first / got interpreted as a division operator. Fix coming shortly.

Sorry for not responding sooner. The issue got lost in the depths of my inbox :/