Add C++ to mkcodemod

This commit is contained in:
Eryn Wells 2013-01-07 09:53:19 -08:00
parent e1ae600953
commit 1b26155828

View file

@ -2,7 +2,7 @@
# Create a code module
# Eryn Wells <eryn@erynwells.me>
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'