bookloupe/pending.h
author ali <ali@juiblex.co.uk>
Wed Oct 02 23:51:18 2013 +0100 (2013-10-02)
changeset 94 466f43a12118
parent 93 9fb13a5dde3b
permissions -rw-r--r--
Fix bug #11: Test for balanced "slanted" UTF-8 quotation marks 8220/8221
     1 #ifndef PENDING_H
     2 #define PENDING_H
     3 
     4 #include "counters.h"
     5 
     6 struct pending_warning {
     7     char *queried_line;
     8     char *warning_text;
     9 };
    10 
    11 struct pending {
    12     char *quote,*rbrack,*sbrack,*cbrack,*unders;
    13     char *continuing_quote;
    14     struct pending_warning illustration;
    15 };
    16 
    17 void print_pending(const char *aline,const char *parastart,
    18   struct pending *pending);
    19 void reset_pending(struct pending *pending);
    20 void check_for_mismatched_quotes(struct counters *counters,
    21   struct pending *pending);
    22 
    23 #endif /* PENDING_H */