summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config.xml1
-rwxr-xr-xsrc/util.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/config.xml b/src/config.xml
index b89d9d7..0aa8fda 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -1325,6 +1325,7 @@ FILE_VERSION_INFO = "cleartool desc -fmt \%Vn"
<value name='*.mm'/>
<value name='*.dox'/>
<value name='*.py'/>
+ <value name='*.pyw'/>
<value name='*.f90'/>
<value name='*.f'/>
<value name='*.for'/>
diff --git a/src/util.cpp b/src/util.cpp
index a560f18..84e9126 100755
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -7040,6 +7040,7 @@ void initDefaultExtensionMapping()
updateLanguageMapping(".M", "objective-c");
updateLanguageMapping(".mm", "objective-c");
updateLanguageMapping(".py", "python");
+ updateLanguageMapping(".pyw", "python");
updateLanguageMapping(".f", "fortran");
updateLanguageMapping(".for", "fortran");
updateLanguageMapping(".f90", "fortran");