소스 검색

minor bugfix

Nicolas Cannasse 16 년 전
부모
커밋
06962d517a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      parser.ml

+ 1 - 1
parser.ml

@@ -375,7 +375,7 @@ and parse_class_field s =
 			} in
 			(FFun (name,doc,l,pl,f),punion p1 (pos e))
 		| [< >] ->
-			if l = [] && doc = None then raise Stream.Failure else serror()
+			if l = [] then raise Stream.Failure else serror()
 
 and parse_signature_field flag = parser
 	| [< '(Kwd Var,p1); name = any_ident; s >] ->