about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-07-11 00:10:24 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-07-11 00:10:24 +0900
commit7facf9695078c9ae5d16d0bf4dd11ed0e0b5edb4 (patch)
treef1ba878408ea91bd1806992c50adbb1b50d44f9d
parent3e9fc32fc3d6ac4931f82d666fa4f2f52ac5f65b (diff)
downloadzsh-7facf9695078c9ae5d16d0bf4dd11ed0e0b5edb4.tar.gz
zsh-7facf9695078c9ae5d16d0bf4dd11ed0e0b5edb4.tar.xz
zsh-7facf9695078c9ae5d16d0bf4dd11ed0e0b5edb4.zip
43155: _gcc: escape ':' in action for -std
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_gcc2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e17484aa..3ca47e16e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-07-10  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+	* 43155: Completion/Unix/Command/_gcc: escape : in action for -std
+
 2018-07-10  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 43156, 43157: Src/exec.c: need to allow for possible
diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc
index 5817318f6..5fcd020bd 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -415,7 +415,7 @@ args+=(
   '-print-file-name=-[Display the full path to library <library>]:library:->library'
   '-print-prog-name=-[Display the full path to compiler component <program>]:program:'
   '*-specs=-[Override built-in specs with the contents of <file>]:file:_files'
-  '-std=-[assume that the input sources are for specified standard]:standard:(c90 c89 iso9899:1990 iso9899:199409 c99 iso9899:1999 c11 iso9899:2011 gnu90 gnu89 gnu99 gnu11 c++98 c++03 gnu++98 gnu++03 c++11 gnu++11 c++1y gnu++1y c++14 gnu++14 c++1z gnu++1z c++17 iso9899:2017 gnu++17 c++2a gnu++2a)'
+  '-std=-[assume that the input sources are for specified standard]:standard:(c90 c89 iso9899\:1990 iso9899\:199409 c99 iso9899\:1999 c11 iso9899\:2011 gnu90 gnu89 gnu99 gnu11 c++98 c++03 gnu++98 gnu++03 c++11 gnu++11 c++1y gnu++1y c++14 gnu++14 c++1z gnu++1z c++17 iso9899\:2017 gnu++17 c++2a gnu++2a)'
   '*-include:include file:_files -g \*.h\(-.\)'
   '*-imacros:macro input file:_files -g \*.h\(-.\)'
   '*-idirafter:second include path directory:_files -/'