summaryrefslogtreecommitdiff
path: root/src/exports.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-11-01 12:08:11 -0400
committerAdrian Thurston <thurston@complang.org>2014-11-01 12:08:11 -0400
commitfae7ec95e99a519398bb3aadd4bc73fb49d8ad3b (patch)
tree72e096b16222a51146f4d83e123fa9768eaa0b04 /src/exports.cc
parentbfc5e2b6502c1ccd8a1cb578f617f1907588e687 (diff)
downloadcolm-fae7ec95e99a519398bb3aadd4bc73fb49d8ad3b.tar.gz
eliminated the _ on the front of exports names
Adding _ to the name makes it inconvenient to jump from colm code to C++ code when editing. Can't identifier search. Too unusual and unexpected.
Diffstat (limited to 'src/exports.cc')
-rw-r--r--src/exports.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exports.cc b/src/exports.cc
index 78bbccae..2171d928 100644
--- a/src/exports.cc
+++ b/src/exports.cc
@@ -133,7 +133,7 @@ void Compiler::generateExports()
out << " enum prod_name {\n";
for ( LelDefList::Iter prod = lel->defList; prod.lte(); prod++ ) {
if ( prod->name.length() > 0 )
- out << "\t\t_" << prod->name << " = " << prod->prodNum << ",\n";
+ out << "\t\t" << prod->name << " = " << prod->prodNum << ",\n";
}
out << " };\n";
out << " enum prod_name prodName() " <<