bookloupe/pending.h
author ali <ali@juiblex.co.uk>
Mon Sep 23 21:18:27 2013 +0100 (2013-09-23)
changeset 93 9fb13a5dde3b
child 94 466f43a12118
permissions -rw-r--r--
Fix bug #12: Balanced square brackets test should recognize multi-line [Illustration] tags
     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 *dquote,*squote,*rbrack,*sbrack,*cbrack,*unders;
    13     long squot;
    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(const struct counters *counters,
    21   struct pending *pending);
    22 
    23 #endif /* PENDING_H */