Skip to content

Commit

Permalink
Added support to parse c and hpp files.
Browse files Browse the repository at this point in the history
Initial update to add the support for c and hpp files, which were not parsed previously. An investigation is underway to make use of the Qt Creator MIME database to support based on that data and not the file extension.

This update is small enough and does what is needed for now, in the attempt to get binaries out for Qt 3.4.

This should initially close #42, close #39
  • Loading branch information
CJCombrink committed Apr 29, 2015
1 parent 1addab1 commit 01e2ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parsers/CppParser/cppparserconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const char WEBSITE_ADDRESS_REGEXP_PATTERN[] = "((http(s)?):\\/\\/)?(\\w+\\.){1,1
/* Pattern for characters that can be part of a website URL. */
const char WEBSITE_CHARS_REGEXP_PATTERN[] = "[/:\\?=#%-]";
/* Pattern for CPP files. */
const char CPP_SOURCE_FILES_REGEXP_PATTERN[]= ".*\\.(cpp|h)$";
const char CPP_SOURCE_FILES_REGEXP_PATTERN[]= ".*\\.(c|cpp|h|hpp)$";

const char CPP_PARSER_GROUP[] = "CppParser";
const char WHAT_TO_CHECK[] = "WhatToCheck";
Expand Down

0 comments on commit 01e2ee2

Please sign in to comment.