TheThingsNetwork / arduino-device-lib

Arduino Library for TTN Devices
MIT License
207 stars 96 forks source link

Use a single tab field separator in keywords.txt #239

Closed per1234 closed 5 years ago

per1234 commented 5 years ago

Each field of keywords.txt is separated by a single true tab. When you use multiple tabs it causes the field to be interpreted as empty. On Arduino IDE 1.6.5 and newer an empty KEYWORD_TOKENTYPE causes the default editor.function.style highlighting to be used (as with KEYWORD2, KEYWORD3, LITERAL2). On Arduino IDE 1.6.4 and older it causes the keyword to not be recognized for any special highlighting.

Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords

cimm commented 5 years ago

Duplicate of pull request #238, maybe close one of them?

per1234 commented 5 years ago

Sorry about that. I had intended to submit this PR to a hard fork of the library but accidentally submitted it to the parent instead.