-
Notifications
You must be signed in to change notification settings - Fork 4.6k

Description
linguist seems to be a bit too happy to mark code as JavaScript.
This is a normal C file, only without an extension. The first line states /usr/bin/tcc -run
as the interpreter, which is a very unmistakable identifier for regular C code. I suggest adding this "interpreter" to languages.yml for C.
https://github.com/pjanouch/ZyklonB/blob/master/plugins/script
Similarly, while this Tcl file doesn't have an extension either, the interpreter line of /usr/bin/env tclsh
should make it pretty clear that this is supposed to be Tcl code. tclsh
seems to be already present in languages.yml, so I'm not sure if this is a problem of JavaScript overriding this, or of not being able to detect interpreters correctly after /usr/bin/env
.
https://github.com/pjanouch/ZyklonB/blob/master/plugins/coin