浏览代码

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

Dan Korostelev 11 年之前
父节点
当前提交
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
 		);