From: Alan Knowles Date: Tue, 26 May 2015 05:39:55 +0000 (+0800) Subject: src/Project/Gtk.vala X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=09e8b37a00ac4a618d8b035690eaf0d48f7e7604 src/Project/Gtk.vala --- diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index 98d02d0c6..3e521b6bc 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -220,10 +220,13 @@ namespace Project { ret.add( fn); continue; } - + // not a c file... + if (Regex.match_simple("\\.c$", fn)) { + continue; + } // got a file that is not - vv = fn; + var vv = fn; try { vv = (new Regex("\\.c$")).replace( fn, fn, 0, ".vala"); } catch (Error e) {