]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
allow whitespace at start of preprocessor directive
authorrichter <richter@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Jan 2000 14:38:41 +0000 (14:38 +0000)
committerrichter <richter@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Jan 2000 14:38:41 +0000 (14:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@2160 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/Make_dep.pl

index c78f955b508eda366e36ba9eedee2b2413c71523..666c9e37a51694e94bb1c8025f3d616be6014b63 100644 (file)
@@ -111,7 +111,7 @@ sub make_include_tree {
     open (FILE, $filename);
     while (<FILE>) {
        # look out for include statements
-       if (/^#\s*include\s*(["<])([^">]*)[">]/) {
+       if (/^\s*#\s*include\s*(["<])([^">]*)[">]/) {
            local($include) = $2;
            if ($1 =~ /</) {
                # include by <...>. Try to find real path

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.