Ver Fonte

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

Dan Korostelev há 11 anos atrás
pai
commit
d86081e29e
1 ficheiros alterados com 1 adições e 0 exclusões
  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
 		);