aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/pire
diff options
context:
space:
mode:
authorleo <leo@yandex-team.ru>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:40 +0300
commit980edcd3304699edf9d4e4d6a656e585028e2a72 (patch)
tree139f47f3911484ae9af0eb347b1a88bd6c4bb35f /contrib/libs/pire
parentb036a557f285146e5e35d4213e29a094ab907bcf (diff)
downloadydb-980edcd3304699edf9d4e4d6a656e585028e2a72.tar.gz
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/pire')
-rw-r--r--contrib/libs/pire/pire/fsm.h2
-rw-r--r--contrib/libs/pire/pire/glue.h2
-rw-r--r--contrib/libs/pire/pire/scanners/common.h2
-rw-r--r--contrib/libs/pire/pire/scanners/loaded.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/pire/pire/fsm.h b/contrib/libs/pire/pire/fsm.h
index 4dad06ca06..2d7858f9e0 100644
--- a/contrib/libs/pire/pire/fsm.h
+++ b/contrib/libs/pire/pire/fsm.h
@@ -250,7 +250,7 @@ namespace Pire {
};
template<class Scanner>
- void BuildScanner(const Fsm& fsm, Scanner& r)
+ void BuildScanner(const Fsm& fsm, Scanner& r)
{
TSet<size_t> dead;
if (Scanner::DeadFlag)
diff --git a/contrib/libs/pire/pire/glue.h b/contrib/libs/pire/pire/glue.h
index bac086f2f0..1df1423e71 100644
--- a/contrib/libs/pire/pire/glue.h
+++ b/contrib/libs/pire/pire/glue.h
@@ -97,7 +97,7 @@ private:
return ind;
}
}
- return (size_t)-1;
+ return (size_t)-1;
}
static size_t Hash(const key_type& st) {
diff --git a/contrib/libs/pire/pire/scanners/common.h b/contrib/libs/pire/pire/scanners/common.h
index de5ea0af7b..e2970c881b 100644
--- a/contrib/libs/pire/pire/scanners/common.h
+++ b/contrib/libs/pire/pire/scanners/common.h
@@ -59,7 +59,7 @@ namespace Pire {
, PtrSize(sizeof(void*))
, MaxWordSize(sizeof(Impl::MaxSizeWord))
, Type(type)
- , HdrSize((ui32)hdrsize)
+ , HdrSize((ui32)hdrsize)
{}
void Validate(ui32 type, size_t hdrsize) const
diff --git a/contrib/libs/pire/pire/scanners/loaded.h b/contrib/libs/pire/pire/scanners/loaded.h
index 120dc403b7..81ac456741 100644
--- a/contrib/libs/pire/pire/scanners/loaded.h
+++ b/contrib/libs/pire/pire/scanners/loaded.h
@@ -194,7 +194,7 @@ public:
size_t shift = (newState - oldState) * StateSize();
Transition tr;
- tr.shift = (ui32)shift;
+ tr.shift = (ui32)shift;
tr.action = action;
m_jumps[TransitionIndex(oldState, c)] = tr;
}