瀏覽代碼

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);