Browse Source

Recent changes from 0.9.6-stable

Richard Levitte 21 years ago
parent
commit
345d8d572c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      util/mkdef.pl

+ 4 - 0
util/mkdef.pl

@@ -315,6 +315,10 @@ sub do_defs
 	    		}
 
 			s/\/\*.*?\*\///gs;                   # ignore comments
+			if (/\/\*/) {                        # if we have part
+				$line = $_;                  # of a comment,
+				next;                        # continue reading
+			}
 			s/{[^{}]*}//gs;                      # ignore {} blocks
 			if (/^\#\s*ifndef (.*)/) {
 				push(@tag,$1);