I'm trying to make a file format for Ruby, cribbing off of the C/C++ definition. See the attached keyword.png for my problem: keywords are recognized not as words but as substrings. This happens regardless of the order of the Grammar rules.
As far as I can tell, this does NOT happen for the factory-defined file types - but I can't see any difference in how I'm defining my list of keywords or my identifier regex.
I played around with making every keyword in my list a regex, but that is obviously not the intent of this list interface.
Help?
Also: maybe bcpkg should be added to the list of allowed file attachments.
As far as I can tell, this does NOT happen for the factory-defined file types - but I can't see any difference in how I'm defining my list of keywords or my identifier regex.
I played around with making every keyword in my list a regex, but that is obviously not the intent of this list interface.
Help?
Also: maybe bcpkg should be added to the list of allowed file attachments.
Comment