diff options
author | Adrian Thurston <thurston@complang.org> | 2014-11-01 12:08:11 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-11-01 12:08:11 -0400 |
commit | fae7ec95e99a519398bb3aadd4bc73fb49d8ad3b (patch) | |
tree | 72e096b16222a51146f4d83e123fa9768eaa0b04 /src/exports.cc | |
parent | bfc5e2b6502c1ccd8a1cb578f617f1907588e687 (diff) | |
download | colm-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.cc | 2 |
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() " << |