From 1b261558281453d3807d3bd5200235649e157571 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 7 Jan 2013 09:53:19 -0800 Subject: [PATCH] Add C++ to mkcodemod --- zsh/func/makers/mkcodemod | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zsh/func/makers/mkcodemod b/zsh/func/makers/mkcodemod index 7c374c7..d2df6af 100644 --- a/zsh/func/makers/mkcodemod +++ b/zsh/func/makers/mkcodemod @@ -2,7 +2,7 @@ # Create a code module # Eryn Wells -local opts='cmph' +local opts='Ccmph' local funcname=$0 _usage() { @@ -24,6 +24,11 @@ local modtype='' while getopts $opts opt; do [[ $complete -eq 1 ]] && return 2 case $opt in + C) + modtype='C++' + srcext='cc' + headext='hh' + ;; c) modtype='C' srcext='c'