src/Builder4/ValaCompileErrors.bjs
authorAlan <alan@roojs.com>
Thu, 11 Jan 2024 10:24:50 +0000 (18:24 +0800)
committerAlan <alan@roojs.com>
Thu, 11 Jan 2024 10:24:50 +0000 (18:24 +0800)
src/Builder4/ValaCompileErrors.vala

src/Builder4/ValaCompileErrors.bjs
src/Builder4/ValaCompileErrors.vala

index 8025365..80bb461 100644 (file)
              "\t}",
              "\t ",
              "\t ",
-             "    var fname  = ce.parent.file;",
+             "    var fname  = ce.file;",
              "  \tvar line = ce.line;  ",
-             "    GLib.debug(\"open %s @ %d\\n\", ce.parent.file.path, ce.line);",
+             "    GLib.debug(\"open %s @ %d\\n\", ce.file.path, ce.line);",
              "    ",
              "    ",
              "   var  bjsf = \"\";",
index dc515c9..fc2fe54 100644 (file)
                        }
                         
                         
-                    var fname  = ce.parent.file;
+                    var fname  = ce.file;
                        var line = ce.line;  
-                    GLib.debug("open %s @ %d\n", ce.parent.file.path, ce.line);
+                    GLib.debug("open %s @ %d\n", ce.file.path, ce.line);
                     
                     
                    var  bjsf = "";