Преглед изворни кода

Recent changes from 0.9.6-stable

Richard Levitte пре 21 година
родитељ
комит
345d8d572c
1 измењених фајлова са 4 додато и 0 уклоњено
  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);