summaryrefslogtreecommitdiffstats
path: root/src/languages.py
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-06-14 17:34:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-06-15 13:11:44 (GMT)
commit98a54c576eec4feda606156ae591854311d9cd0e (patch)
treeb84864b6b256b00ce2c8bc138e1f1e0b45a5f14c /src/languages.py
parent3333536dfd3066f10183cbeb5a80faef232982fa (diff)
downloadDoxygen-98a54c576eec4feda606156ae591854311d9cd0e.zip
Doxygen-98a54c576eec4feda606156ae591854311d9cd0e.tar.gz
Doxygen-98a54c576eec4feda606156ae591854311d9cd0e.tar.bz2
Added build support for Python3+ and Python2.6+
Diffstat (limited to 'src/languages.py')
-rwxr-xr-xsrc/languages.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/languages.py b/src/languages.py
index 7ce382a..2b02b3e 100755
--- a/src/languages.py
+++ b/src/languages.py
@@ -15,7 +15,7 @@ for f in files:
# generating file is lang_cfg.py
# the rules file has to output lang_cfg.h
#
-print """\
+print("""\
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
Name="languages"
@@ -52,7 +52,7 @@ print """\
/>
</Values>
</EnumProperty>
-"""
+""")
#
# generate loop, English is mandatory (so cannot be chosen)
#
@@ -76,7 +76,7 @@ for f in new_list:
l1 = l.replace("-","")
# capatalize first letter
l = l.title()
- print """\
+ print("""\
<EnumProperty
Name="%s"
DisplayName="Use %s"
@@ -96,11 +96,11 @@ for f in new_list:
/>
</Values>
</EnumProperty>
- """ % (l1, l, l, l, f[1], l)
+ """ % (l1, l, l, l, f[1], l))
-print """\
+print("""\
</Properties>
</CustomBuildRule>
</Rules>
</VisualStudioToolFile>
-"""
+""")