linguist icon indicating copy to clipboard operation
linguist copied to clipboard

IDL .pro code misidentified as Prolog

Open vishal-bala opened this issue 10 years ago • 4 comments

vishal-bala avatar Dec 06 '15 23:12 vishal-bala

Could you link to the incorrectly classified file(s)?

pchaigno avatar Jan 01 '16 13:01 pchaigno

Sure, here it is: https://github.com/vishal-bala/AS441/blob/master/CCD_CHAR.pro

On 1 January 2016, at 17:45, Paul Chaignon [email protected] wrote:

Could you link to the incorrectly classified file(s)?

— Reply to this email directly or view it on GitHub https://github.com/github/linguist/issues/2762#issuecomment-168307566.

vishal-bala avatar Jan 01 '16 13:01 vishal-bala

The .pro (IDL, Prolog, QMake and INI) classification is not perfect and will probably never be :/ Your file is incorrectly classified because of this line; :- is detected as a Prolog construct. You can fix that using Linguist overrides.

pchaigno avatar Jan 01 '16 17:01 pchaigno

You can fix that using Linguist overrides.

Yeah, this is probably the best solution here.

arfon avatar Jan 03 '16 02:01 arfon