Back to index

tetex-bin  3.0
Defines
scanid.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IS_COMPOSITOR   (strncmp(&no[i], page_comp, comp_len) == 0)
#define ROMAN_I   'I'
#define ROMAN_V   'V'
#define ROMAN_X   'X'
#define ROMAN_L   'L'
#define ROMAN_C   'C'
#define ROMAN_D   'D'
#define ROMAN_M   'M'
#define ROMAN_i   'i'
#define ROMAN_v   'v'
#define ROMAN_x   'x'
#define ROMAN_l   'l'
#define ROMAN_c   'c'
#define ROMAN_d   'd'
#define ROMAN_m   'm'
#define VAL_I   1
#define VAL_V   5
#define VAL_X   10
#define VAL_L   50
#define VAL_C   100
#define VAL_D   500
#define VAL_M   1000
#define ROMAN_LOWER_VAL(C)
#define ROMAN_UPPER_VAL(C)
#define IS_ROMAN_LOWER(C)
#define IS_ROMAN_UPPER(C)
#define ALPHA_VAL(C)
#define IS_ALPHA_LOWER(C)   (('a' <= C) && (C <= 'z'))
#define IS_ALPHA_UPPER(C)   (('A' <= C) && (C <= 'Z'))
#define IDX_SKIPLINE
#define NULL_RTN
#define IDX_ERROR(F, D)
#define IDX_ERROR2(F, D1, D2)
#define ENTER(V)

Define Documentation

#define ALPHA_VAL (   C)
Value:
((('A' <= C) && (C <= 'Z')) ? C - 'A' : \
     (('a' <= C) && (C <= 'z')) ? C - 'a' : 0)

Definition at line 80 of file scanid.h.

#define ENTER (   V)
Value:
{ \
    if (*count >= PAGEFIELD_MAX) { \
       IDX_ERROR2("Page number %s has too many fields (max. %d).", \
              no, PAGEFIELD_MAX); \
       return (FALSE); \
    } \
    npg[*count] = (V); \
    ++*count; \
}

Definition at line 127 of file scanid.h.

#define IDX_ERROR (   F,
 
)
Value:
{ \
    if (idx_dot) { \
       fprintf(ilg_fp, "\n"); \
       idx_dot = FALSE; \
    } \
    fprintf(ilg_fp, "!! Input index error (file = %s, line = %d):\n   -- ", \
           idx_fn, idx_lc); \
    fprintf(ilg_fp, F, D); \
    idx_ec++; \
}

Definition at line 104 of file scanid.h.

#define IDX_ERROR2 (   F,
  D1,
  D2 
)
Value:
{ \
    if (idx_dot) { \
       fprintf(ilg_fp, "\n"); \
       idx_dot = FALSE; \
    } \
    fprintf(ilg_fp, "!! Input index error (file = %s, line = %d):\n   -- ", \
           idx_fn, idx_lc); \
    fprintf(ilg_fp, F, D1, D2); \
    idx_ec++; \
}

Definition at line 115 of file scanid.h.

#define IDX_SKIPLINE
Value:
{ \
    int tmp; \
    while ((tmp = GET_CHAR(idx_fp)) != LFD) \
       if (tmp == EOF) \
           break; \
    idx_lc++; \
    arg_count = -1; \
}

Definition at line 90 of file scanid.h.

#define IS_ALPHA_LOWER (   C)    (('a' <= C) && (C <= 'z'))

Definition at line 84 of file scanid.h.

#define IS_ALPHA_UPPER (   C)    (('A' <= C) && (C <= 'Z'))

Definition at line 87 of file scanid.h.

#define IS_COMPOSITOR   (strncmp(&no[i], page_comp, comp_len) == 0)

Definition at line 28 of file scanid.h.

#define IS_ROMAN_LOWER (   C)
Value:
((C == ROMAN_i) || (C == ROMAN_v) || (C == ROMAN_x) || \
     (C == ROMAN_l) || (C == ROMAN_c) || (C == ROMAN_d) || (C == ROMAN_m))

Definition at line 72 of file scanid.h.

#define IS_ROMAN_UPPER (   C)
Value:
((C == ROMAN_I) || (C == ROMAN_V) || (C == ROMAN_X) || \
     (C == ROMAN_L) || (C == ROMAN_C) || (C == ROMAN_D) || (C == ROMAN_M))

Definition at line 76 of file scanid.h.

#define NULL_RTN
Value:
{ \
    IDX_ERROR("Illegal null field.\n", NULL); \
    return (FALSE); \
}

Definition at line 99 of file scanid.h.

#define ROMAN_C   'C'

Definition at line 34 of file scanid.h.

#define ROMAN_c   'c'

Definition at line 42 of file scanid.h.

#define ROMAN_D   'D'

Definition at line 35 of file scanid.h.

#define ROMAN_d   'd'

Definition at line 43 of file scanid.h.

#define ROMAN_I   'I'

Definition at line 30 of file scanid.h.

#define ROMAN_i   'i'

Definition at line 38 of file scanid.h.

#define ROMAN_L   'L'

Definition at line 33 of file scanid.h.

#define ROMAN_l   'l'

Definition at line 41 of file scanid.h.

#define ROMAN_LOWER_VAL (   C)
Value:
((C == ROMAN_i) ? VAL_I : \
     (C == ROMAN_v) ? VAL_V : \
     (C == ROMAN_x) ? VAL_X : \
     (C == ROMAN_l) ? VAL_L : \
     (C == ROMAN_c) ? VAL_C : \
     (C == ROMAN_d) ? VAL_D : \
     (C == ROMAN_m) ? VAL_M : 0)

Definition at line 54 of file scanid.h.

#define ROMAN_M   'M'

Definition at line 36 of file scanid.h.

#define ROMAN_m   'm'

Definition at line 44 of file scanid.h.

#define ROMAN_UPPER_VAL (   C)
Value:
((C == ROMAN_I) ? VAL_I : \
     (C == ROMAN_V) ? VAL_V : \
     (C == ROMAN_X) ? VAL_X : \
     (C == ROMAN_L) ? VAL_L : \
     (C == ROMAN_C) ? VAL_C : \
     (C == ROMAN_D) ? VAL_D : \
     (C == ROMAN_M) ? VAL_M : 0)

Definition at line 63 of file scanid.h.

#define ROMAN_V   'V'

Definition at line 31 of file scanid.h.

#define ROMAN_v   'v'

Definition at line 39 of file scanid.h.

#define ROMAN_X   'X'

Definition at line 32 of file scanid.h.

#define ROMAN_x   'x'

Definition at line 40 of file scanid.h.

#define VAL_C   100

Definition at line 50 of file scanid.h.

#define VAL_D   500

Definition at line 51 of file scanid.h.

#define VAL_I   1

Definition at line 46 of file scanid.h.

#define VAL_L   50

Definition at line 49 of file scanid.h.

#define VAL_M   1000

Definition at line 52 of file scanid.h.

#define VAL_V   5

Definition at line 47 of file scanid.h.

#define VAL_X   10

Definition at line 48 of file scanid.h.