summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_gcc2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cd32bb51..fce6a221a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-17 Peter Stephenson <p.stephenson@samsung.com>
+
+ * see 33475: Completion/Unix/Command/_gcc: allow .cpp files as
+ input.
+
2014-10-14 Oliver Kiddle <opk@zsh.org>
* 33455: Syohei YOSHIDA: Completion/Unix/Command/_global:
diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc
index c6bbabbe9..eae832307 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -13,7 +13,7 @@ if [[ "$service" = -value-* ]]; then
args2=()
fi
else
- args2=( '*:input file:_files -g "*.([cCmisSoak]|cc|cxx|ii|k[ih])(-.)"' )
+ args2=( '*:input file:_files -g "*.([cCmisSoak]|cc|cpp|cxx|ii|k[ih])(-.)"' )
fi
args=()