From d2a37139665ced119667f0d4911a6c11da379d5a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 May 2015 13:40:12 +0800 Subject: [PATCH] src/Project/Gtk.vala --- src/Project/Gtk.vala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index 3e521b6bc..a23b0e7ae 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -220,10 +220,14 @@ namespace Project { ret.add( fn); continue; } + if (!Regex.match_simple("\\.vala\\.c$", fn)) { + continue; + } // not a c file... - if (Regex.match_simple("\\.c$", fn)) { + if (!Regex.match_simple("\\.c$", fn)) { continue; } + // got a file that is not var vv = fn; -- 2.39.2