summaryrefslogtreecommitdiff
path: root/ragel/xmlcodegen.cpp
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2011-05-06 20:43:34 +0000
committerAdrian Thurston <thurston@complang.org>2011-05-06 20:43:34 +0000
commit75996069f81b9dbeacb3932f534319cf3cd5e666 (patch)
tree1b6f06582bdf0796292bfa26fe75f51acf7ec374 /ragel/xmlcodegen.cpp
parent1417e6a295fcb23078a18c512ce7a4a3e48235e3 (diff)
downloadragel-75996069f81b9dbeacb3932f534319cf3cd5e666.tar.gz
D2 Patch. From Johannes Pfau.
refs #101.
Diffstat (limited to 'ragel/xmlcodegen.cpp')
-rw-r--r--ragel/xmlcodegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ragel/xmlcodegen.cpp b/ragel/xmlcodegen.cpp
index 584784a0..e4b14bc8 100644
--- a/ragel/xmlcodegen.cpp
+++ b/ragel/xmlcodegen.cpp
@@ -1403,6 +1403,7 @@ void InputData::writeLanguage( std::ostream &out )
switch ( hostLang->lang ) {
case HostLang::C: out << "C"; break;
case HostLang::D: out << "D"; break;
+ case HostLang::D2: out << "D2"; break;
case HostLang::Go: out << "Go"; break;
case HostLang::Java: out << "Java"; break;
case HostLang::Ruby: out << "Ruby"; break;