Add support for Qt's QML language
authorCaio Marcelo de Oliveira Filho <cmarcelo@gmail.com>
Sat, 22 Oct 2011 05:08:48 +0000 (02:08 -0300)
committerCaio Marcelo de Oliveira Filho <cmarcelo@gmail.com>
Sat, 22 Oct 2011 05:08:48 +0000 (02:08 -0300)
commit90a85d6be1242b1daaf625a16ae8d2b01fdb27ee
tree0c857f5598f77c3675cf137a3368e98bfb9f5e0d
parent404c7955927134791cd265d6e800870baa662ee2
Add support for Qt's QML language

Reusing the JS parser, since QML is 'almost' JavaScript. The
approximation is good enough for the line counting purposes.
src/hash/extensions.gperf
src/hash/languages.gperf
src/hash/parsers.gperf
src/languages.h
src/parsers/javascript.rl
test/detect_files/foo.qml [new file with mode: 0644]
test/expected_dir/example.qml [new file with mode: 0644]
test/src_dir/example.qml [new file with mode: 0644]
test/unit/detector_test.h
test/unit/parser_test.h
test/unit/parsers/test_qml.h [new file with mode: 0644]