Bläddra i källkod

Recent changes from 0.9.6-stable

Richard Levitte 21 år sedan
förälder
incheckning
345d8d572c
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      util/mkdef.pl

+ 4 - 0
util/mkdef.pl

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