Skip to content

Commit 77597d6

Browse files
committed
Added .hpp in allowed file extensions
Enable compiler to extract .hpp files included in arduino projects.
1 parent 7f01d36 commit 77597d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Symfony/src/Codebender/CompilerBundle/Handler/UtilityHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function extractFiles($directory, $request_files, $lib_extraction)
3636
// separated by "|" to be used in regular expressions. They are also
3737
// used as keys in an array that will contain the paths of all the
3838
// extracted files.
39-
$allowedExtensions = array("c", "cpp", "h", "inc", "ino", "o", "S");
39+
$allowedExtensions = array("c", "cpp", "h", "inc", "ino", "o", "S", "hpp");
4040
$files = array();
4141
foreach ($allowedExtensions as $ext)
4242
$files[$ext] = array();

0 commit comments

Comments
 (0)