<commit_before>#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

/* These magic numbers will never change. Fixed format is fixed forever. */
#define CARD_SIZE 73
const int seq_area     =  0; /* start of sequence area */
const int ind_area     =  6; /* start and end of indicator area */
const int a_margin     =  7; /* start of A margin */
const int comment_area = 72; /* start of comment area */

/* Columns 73+ are not ignored. They're just not stored in this struct. */
struct card_format {
    char data[CARD_SIZE];  /* a null-terminated card from the deck  */
    bool eof;              /* Did we reach EOF before next card? */
    bool has_data;         /* Does the card have data in cols 1-72? */
    bool has_comment_area; /* Does it have a comment area? */
    bool is_comment_line;  /* Is the card a comment line? */
    bool is_comment_par;   /* Is it a comment paragraph? */
};

enum areas {
    NO_AREAS,
    SEQ_AREA     =  1,
    IND_AREA     =  2,
    A_MARGIN     =  4,
    B_MARGIN     =  8,
    COMMENT_AREA = 16
};

enum contexts {
    CODE,
    LITERAL,
    PSEUDOTEXT
};

enum errors {
    CR_WITHOUT_LF = 1
};

void read_card();
void set_properties(int cnt, bool eof);

void print_card();
void print_seq_area();
void print_ind_area();
void print_comment_par();
void print_comment_line();
void print_code_line();

void echo_comment_area();
void echo_linebreaks();

int ps8_strnicmp(const char *a, const char *b, size_t count);

const char* program;<commit_msg>Delete unused enum.<commit_after>#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

/* These magic numbers will never change. Fixed format is fixed forever. */
#define CARD_SIZE 73
const int seq_area     =  0; /* start of sequence area */
const int ind_area     =  6; /* start and end of indicator area */
const int a_margin     =  7; /* start of A margin */
const int comment_area = 72; /* start of comment area */

/* Columns 73+ are not ignored. They're just not stored in this struct. */
struct card_format {
    char data[CARD_SIZE];  /* a null-terminated card from the deck  */
    bool eof;              /* Did we reach EOF before next card? */
    bool has_data;         /* Does the card have data in cols 1-72? */
    bool has_comment_area; /* Does it have a comment area? */
    bool is_comment_line;  /* Is the card a comment line? */
    bool is_comment_par;   /* Is it a comment paragraph? */
};

enum contexts { CODE, LITERAL, PSEUDOTEXT };
enum errors   { CR_WITHOUT_LF = 1 };

void read_card();
void set_properties(int cnt, bool eof);

void print_card();
void print_seq_area();
void print_ind_area();
void print_comment_par();
void print_comment_line();
void print_code_line();

void echo_comment_area();
void echo_linebreaks();

int ps8_strnicmp(const char *a, const char *b, size_t count);

const char* program;
{'fraction_non_alphanumeric': 0.10996563573883161, 'fraction_numerical': 0.01168384879725086, 'mean_word_length': 3.1349431818181817, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1584702', 'n_tokens_mistral': 994, 'n_tokens_neox': 952, 'n_words': 346}