--- coder.module.orig	2008-10-01 16:08:38.000000000 +0200
+++ coder.module	2008-11-02 01:24:38.000000000 +0100
@@ -771,28 +771,31 @@ function coder_page_form($form_state) {
             '#php_extensions' => $php_extensions,
             '#include_extensions' => $include_extensions,
           );
-          $results = do_coder_reviews($coder_args);
-          $stats[$filename] = $results['#stats'];
-          unset($results['#stats']);
-
-          // Output the results in a collapsible fieldset.
-          $form[$name] = array(
-            '#type' => 'fieldset',
-            '#title' => $filename,
-            '#collapsible' => TRUE,
-            '#collapsed' => TRUE,
-            '#weight' => ++ $module_weight,
-          );
-          if (empty($results)) {
-            $results[] = t('No Problems Found');
-          }
-          else {
-            $form[$name]['#collapsed'] = FALSE;
+          // Do not process theme info files
+          if (!preg_match('/\.info$/', $filename)) {
+            $results = do_coder_reviews($coder_args);
+            $stats[$filename] = $results['#stats'];
+            unset($results['#stats']);
+
+            // Output the results in a collapsible fieldset.
+            $form[$name] = array(
+              '#type' => 'fieldset',
+              '#title' => $filename,
+              '#collapsible' => TRUE,
+              '#collapsed' => TRUE,
+              '#weight' => ++ $module_weight,
+            );
+            if (empty($results)) {
+              $results[] = t('No Problems Found');
+            }
+            else {
+              $form[$name]['#collapsed'] = FALSE;
+            }
+            $form[$name]['output'] = array(
+              '#value' => theme('coder', $name, $filename, $results),
+              '#weight' => -1,
+            );
           }
-          $form[$name]['output'] = array(
-            '#value' => theme('coder', $name, $filename, $results),
-            '#weight' => -1,
-          );
 
           // Process the same directory include files.
           if (!empty($settings['coder_includes'])) {
@@ -806,6 +809,7 @@ function coder_page_form($form_state) {
                 $dups[$path] = 1;
                 $regex = '\.('. implode('|', $includes) .')$';
                 $includefiles = drupal_system_listing($regex, dirname($filename), 'filename', 0);
+
                 $offset = strpos($filename, dirname($filename));
                 $stats[$filename]['#includes'] = _coder_page_form_includes($form, $coder_args, $name, $includefiles, $offset, $coder_includes_exclusions);
               }
@@ -1102,10 +1106,10 @@ function _coder_read_and_parse_file(&$co
     $this_allphp_lines = '';
     $this_html_lines = '';
     $this_quote_lines = array('');
-    $this_quote_index = -1;
+    $this_quote_index = 0;
     $this_quote_sep = FALSE;
     $this_doublequote_lines = array('');
-    $this_doublequote_index = -1;
+    $this_doublequote_index = 0;
     $this_comment_lines = '';
 
     // Parse the file:
@@ -1171,9 +1175,9 @@ function _coder_read_and_parse_file(&$co
         $this_html_lines = '';
         $this_quote_lines = array('');
         $this_doublequote_lines = array('');
-        $this_quote_index = -1;
+        $this_quote_index = 0;
         $this_quote_sep = FALSE;
-        $this_doublequote_index = -1;
+        $this_doublequote_index = 0;
         $this_comment_lines = '';
         $beginning_of_line = 1;
         continue;
