aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/ragel6/cdcodegen.cpp
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /contrib/tools/ragel6/cdcodegen.cpp
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/ragel6/cdcodegen.cpp')
-rw-r--r--contrib/tools/ragel6/cdcodegen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tools/ragel6/cdcodegen.cpp b/contrib/tools/ragel6/cdcodegen.cpp
index 9e784e3f58..3ab82b9c20 100644
--- a/contrib/tools/ragel6/cdcodegen.cpp
+++ b/contrib/tools/ragel6/cdcodegen.cpp
@@ -654,20 +654,20 @@ string FsmCodeGen::WIDE_ALPH_TYPE()
void FsmCodeGen::STATE_IDS()
{
if ( redFsm->startState != 0 )
- STATIC_VAR( "int", START() ) << " = " << START_STATE_ID() << "};\n";
+ STATIC_VAR( "int", START() ) << " = " << START_STATE_ID() << "};\n";
if ( !noFinal )
- STATIC_VAR( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE() << "};\n";
+ STATIC_VAR( "int" , FIRST_FINAL() ) << " = " << FIRST_FINAL_STATE() << "};\n";
if ( !noError )
- STATIC_VAR( "int", ERROR() ) << " = " << ERROR_STATE() << "};\n";
+ STATIC_VAR( "int", ERROR() ) << " = " << ERROR_STATE() << "};\n";
out << "\n";
if ( !noEntry && entryPointNames.length() > 0 ) {
for ( EntryNameVect::Iter en = entryPointNames; en.lte(); en++ ) {
STATIC_VAR( "int", DATA_PREFIX() + "en_" + *en ) <<
- " = " << entryPointIds[en.pos()] << "};\n";
+ " = " << entryPointIds[en.pos()] << "};\n";
}
out << "\n";
}
@@ -719,7 +719,7 @@ std::ostream &CCodeGen::CLOSE_ARRAY()
std::ostream &CCodeGen::STATIC_VAR( string type, string name )
{
- out << "enum {" << name;
+ out << "enum {" << name;
return out;
}