robinluckey/ohcount — pull request #12 by raphink (2012-05-25 16:37:56+00:00)
Title: Improve Puppet/Pascal disambiguation

The Puppet/Pascal disambiguation is currently quite faulty. You just have to look at the main Puppet coder according to ohloh to see that he never wrote a line of it...

This PR aims to:
* better detect Puppet files (allow classes with colons, underscores, and dashes; allow nodes; allow inheritance of classes);
* avoid detecting Pascal code as Puppet (mostly by removing "include" as a reserved Puppet pattern).