2
0
Эх сурвалжийг харах

[cs] add #line default after static initializer as well

Dan Korostelev 11 жил өмнө
parent
commit
d86081e29e
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      gencs.ml

+ 1 - 0
gencs.ml

@@ -2123,6 +2123,7 @@ let configure gen =
 			| Some init ->
 				print w "static %s() " (snd cl.cl_path);
 				expr_s w (mk_block init);
+				if not (Common.defined gen.gcon Define.RealPosition) then write w "#line default";
 				newline w;
 				newline w
 		);