~ruther/guix-local

ref: bbabc4e7e787c3ec9bfdff00151ba66a559fc1e1 guix-local/gnu/packages/patches/pnet-fix-line-number-info.patch -rw-r--r-- 507 bytes
bbabc4e7 — Santiago PayĆ  i Miralta gnu: Add font-iosevka-ss12. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/codegen/cg_coerce.c b/codegen/cg_coerce.c
index 92d2f59a..c90ad5e2 100644
--- a/codegen/cg_coerce.c
+++ b/codegen/cg_coerce.c
@@ -1203,6 +1203,8 @@ int ILCoerce(ILGenInfo *info, ILNode *node, ILNode **parent,
 					!= ILMachineType_Void)
 	{
 		*parent = ILNode_CastSimple_create(node, constType);
+                yysetfilename(*parent, yygetfilename(node));
+		yysetlinenum(*parent, yygetlinenum(node));
 		return 1;
 	}
 	else if(indirect && GetIndirectConvertRules(info,fromType,toType,0,