Detect file import on pp disambiguation
authorDaniel C. Sobral <dcsobral@gmail.com>
Fri, 16 Mar 2012 01:25:09 +0000 (22:25 -0300)
committerDaniel C. Sobral <dcsobral@gmail.com>
Thu, 13 Dec 2012 11:35:03 +0000 (09:35 -0200)
commitbdfa6dc6ce34cc40c3306df5fd44e5464da4f1a0
tree1f3ab7d5a8227019ee91e6fcf9e5bc53422cb41c
parent61d9bcf4f7631f9dd89e568399f9e9e845ace770
Detect file import on pp disambiguation

It's a convention used by some Puppet modules to have nothing on "init.pp"
except imports of class and definition files. Though some Pascal versions
seems to use import as well, Puppet's import are followed by glob patterns
inside double quotes, while Pascal's import are followed by identifiers.

Use imports followed by double quotes to detect these files as Puppet
files.
src/detector.c