{"issue":{"user":{"id":351822,"login":"pfusik","url":"https://api.github.com/users/pfusik","gravatar_id":"5b0479156a018966c235909e3b3ec81d","avatar_url":"https://secure.gravatar.com/avatar/5b0479156a018966c235909e3b3ec81d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"title":"Check if *.def files are Modula-2","milestone":null,"created_at":"2011-08-29T12:55:46Z","labels":[],"state":"closed","updated_at":"2011-12-16T07:51:37Z","id":1509230,"html_url":"https://github.com/blackducksw/ohcount/issues/6","closed_at":"2011-12-15T23:12:18Z","pull_request":{"patch_url":"https://github.com/blackducksw/ohcount/pull/6.patch","html_url":"https://github.com/blackducksw/ohcount/pull/6","diff_url":"https://github.com/blackducksw/ohcount/pull/6.diff"},"body":"Hello,\r\n\r\nCurrently ohcount assumes that all *.def files are Modula-2.\r\nOn Windows, *.def files are likely to be linker scripts (\"module-definition files\" in Microsoft terminology). Typically they list functions exported from a DLL.\r\n\r\nMy patch checks if a \\*.def file starts like a Modula-2 definition module by looking for the leading \"DEFINITION\" keyword or \"(* Modula-2 comment *)\". I believe this is correct detection, however I'm no Modula-2 expert. :)\r\n\r\nPiotr\r\n","number":6,"url":"https://api.github.com/repos/blackducksw/ohcount/issues/6","comments":2,"assignee":null},"comment":{"user":{"id":351822,"login":"pfusik","url":"https://api.github.com/users/pfusik","gravatar_id":"5b0479156a018966c235909e3b3ec81d","avatar_url":"https://secure.gravatar.com/avatar/5b0479156a018966c235909e3b3ec81d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-16T07:51:37Z","updated_at":"2011-12-16T07:51:37Z","id":3174446,"body":"Hello,\r\n\r\nI guess most project which have Modula-2 listed actually use Windows linker scripts. Of my own projects, \"asap\" is surely the case.\r\n\r\nPiotr\r\n","url":"https://api.github.com/repos/blackducksw/ohcount/issues/comments/3174446"},"action":"created"}