index 3200bfdf357276ae1db19777abb6f8abc05cbf1c..3edc43f882dae8786e57bd7abcdb36ceda852361 100644 (file)
#include "tic.h"
bool filter_mode;
-uint8_t *etiq_en; // type: < 255 tokens. This could be made a bit field if memory is a concern
+bool *etiq_en; ///< when non-NULL, a token-indexed array, where the related token is emitted if the value is true. @note This could be made a bit field if memory is a concern
void make_field(struct tic_field *field, const struct tic_etiquette *etiq, char *horodate, char *data)
{
index 4f84b4e138a6b4fccda75d723286e5d03dd85233..43994e720a39b775c9e8821eb8650b3c31733b4a 100644 (file)
#define TIC2JSON_VER "2.0"
extern bool filter_mode;
-extern uint8_t *etiq_en;
+extern bool *etiq_en;
static struct {
const char *idtag;
index 0ea2a9b19e7c2f89f4db5820b951c91d9f2389e5..f773c8089f55055f449d201570e083aae43134aa 100644 (file)
static void yyerror(const char *);
extern bool filter_mode;
-extern uint8_t *etiq_en;
-
+extern bool *etiq_en;
%}
%union {
index 58cd9ef47057151769527473d0b477b7cd71d7a6..6bfccca0575c20502875a7d64d19f58d0825c1b6 100644 (file)
static void yyerror(const char *);
extern bool filter_mode;
-extern uint8_t *etiq_en;
-
+extern bool *etiq_en;
%}
%union {