Closed e8johan closed 9 years ago
Could you point some BitBake files with the .bb extension which are incorrectly recognized as BlitzBasic?
Any .bb file in this repository: https://github.com/meta-qt5/meta-qt5
I could add the BitBake language to linguist. In order to do that, I would need to add some heuristics to differentiate BitBake from BlitzBasic. Is there any thing which could help differentiate the two? Something like a keyword or a few caracteres which are often found in one of them and not in the other. See heuristics.rb for examples of what is currently used as heuristics.
They usually "require" other files, e.g. https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase-native_git.bb
Okay. I'm also thinking about using the Endif
and Forever
keywords for BlitzBasic.
Does any of these exist in BitBake?
Lowercase endif exists, but not Endif. I've never run into a Foreever in a bitbake file, so that might be a good BlitzBasic-indicator as well.
Johan Thelin
Recommended on-line reading: http://www.thelins.se | http://www.qtcentre.org Recommended off-line reading: The Foundations of Qt Development (ISBN: 1-59059-831-8)
On Fri, Apr 18, 2014 at 2:23 PM, Paul Chaignon notifications@github.comwrote:
Okay. I'm also thinking about using the Endif and Forever keywords for BlitzBasic. Does any of these exist in BitBake?
Reply to this email directly or view it on GitHubhttps://github.com/github/linguist/issues/1074#issuecomment-40804978 .
https://github.com/github/linguist/pull/1129 has just landed so this should improve very soon. A deploy of a new Linguist gem usually takes a couple of weeks but support is now in master.
How about .bbclass
, .bbappend
, .inc
, local.conf
, layer.conf
, bitbake.conf
?
I'm not sure how extension-clashes are handed, but I'd like to see .bb to be associated with bitbake (http://en.wikipedia.org/wiki/BitBake) rather than BlitzBasic.