aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/language/detector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/language/detector.cpp')
-rw-r--r--src/modules/language/detector.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/language/detector.cpp b/src/modules/language/detector.cpp
index 19017c6b7..bbdb67812 100644
--- a/src/modules/language/detector.cpp
+++ b/src/modules/language/detector.cpp
@@ -30,9 +30,9 @@
#include "detector.h"
-//////////////////////////////////////////////////////////////////////////////////////
+//
// CORE DEFS
-//////////////////////////////////////////////////////////////////////////////////////
+//
typedef struct _DetectorNGram
{
@@ -50,9 +50,9 @@ typedef struct _DetectorDescriptor
static DetectorNGram X[] = { { nullptr, 0 } };
-//////////////////////////////////////////////////////////////////////////////////////
+//
// DEFINES THAT SAVE (A LOT OF) SPACE
-//////////////////////////////////////////////////////////////////////////////////////
+//
#define S static const unsigned char
#define N static DetectorNGram
@@ -90,9 +90,9 @@ static DetectorNGram X[] = { { nullptr, 0 } };
#define z 122
#define a 32, 0
-//////////////////////////////////////////////////////////////////////////////////////
+//
// DATA TABLES
-//////////////////////////////////////////////////////////////////////////////////////
+//
//
// Lng: afrikaans
@@ -18527,9 +18527,9 @@ D l39_d = {
l39n240, X, X, l39n243, l39n244, l39n245, l39n246, l39n247, l39n248, X, X, l39n251, l39n252, l39n253, X, l39n255 }
};
-//////////////////////////////////////////////////////////////////////////////////////
+//
// DETECTING FUNCTIONS
-//////////////////////////////////////////////////////////////////////////////////////
+//
static char valid_char_jump_table[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,