diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2021-05-19 08:02:22 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2021-05-19 08:02:22 +0000 |
commit | 20a6dacdb8442b72101911b8d239350c799af1c8 (patch) | |
tree | 01abe05a166c8a0982a86a0a90d3bc85caf3b60e /Build/source/texk/mendexk/var.h | |
parent | d6eddba56d9a1afe3d6a3392bc4dc4ac19b7ea84 (diff) |
mendex: ver.0.56, fix bug in reading style file
git-svn-id: svn://tug.org/texlive/trunk@59262 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/mendexk/var.h')
-rw-r--r-- | Build/source/texk/mendexk/var.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Build/source/texk/mendexk/var.h b/Build/source/texk/mendexk/var.h index 9565dd791d0..1d6a475edee 100644 --- a/Build/source/texk/mendexk/var.h +++ b/Build/source/texk/mendexk/var.h @@ -9,29 +9,29 @@ int warn=0,scount=0,pattr[3]={0,0,0}; struct index *ind; -char keyword[2048]={"\\indexentry"}; +char keyword[STYBUFSIZE]={"\\indexentry"}; char arg_open='{',arg_close='}'; char range_open='(',range_close=')'; char level='!',actual='@',encap='|',quote='\"',escape='\\'; -char preamble[2048]={"\\begin{theindex}\n"},postamble[2048]={"\n\n\\end{theindex}\n"}; -char setpage_prefix[2048]={"\n \\setcounter{page}{"},setpage_suffix[2048]={"}\n"}; -char group_skip[2048]={"\n\n \\indexspace\n"}; -char lethead_prefix[2048]={""},lethead_suffix[2048]={""}; +char preamble[STYBUFSIZE]={"\\begin{theindex}\n"},postamble[STYBUFSIZE]={"\n\n\\end{theindex}\n"}; +char setpage_prefix[STYBUFSIZE]={"\n \\setcounter{page}{"},setpage_suffix[STYBUFSIZE]={"}\n"}; +char group_skip[STYBUFSIZE]={"\n\n \\indexspace\n"}; +char lethead_prefix[STYBUFSIZE]={""},lethead_suffix[STYBUFSIZE]={""}; int lethead_flag=0; -char item_0[2048]={"\n \\item "},item_1[2048]={"\n \\subitem "},item_2[2048]={"\n \\subsubitem "}; -char item_01[2048]={"\n \\subitem "},item_x1[2048]={"\n \\subitem "},item_12[2048]={"\n \\subsubitem "},item_x2[2048]={"\n \\subsubitem "}; -char delim_0[2048]={", "},delim_1[2048]={", "},delim_2[2048]={", "},delim_n[2048]={", "},delim_r[2048]={"--"},delim_t[2048]={""}; -char suffix_2p[2048]={""},suffix_3p[2048]={""},suffix_mp[2048]={""}; -char encap_prefix[2048]={"\\"},encap_infix[2048]={"{"},encap_suffix[2048]={"}"}; +char item_0[STYBUFSIZE]={"\n \\item "},item_1[STYBUFSIZE]={"\n \\subitem "},item_2[STYBUFSIZE]={"\n \\subsubitem "}; +char item_01[STYBUFSIZE]={"\n \\subitem "},item_x1[STYBUFSIZE]={"\n \\subitem "},item_12[STYBUFSIZE]={"\n \\subsubitem "},item_x2[STYBUFSIZE]={"\n \\subsubitem "}; +char delim_0[STYBUFSIZE]={", "},delim_1[STYBUFSIZE]={", "},delim_2[STYBUFSIZE]={", "},delim_n[STYBUFSIZE]={", "},delim_r[STYBUFSIZE]={"--"},delim_t[STYBUFSIZE]={""}; +char suffix_2p[STYBUFSIZE]={""},suffix_3p[STYBUFSIZE]={""},suffix_mp[STYBUFSIZE]={""}; +char encap_prefix[STYBUFSIZE]={"\\"},encap_infix[STYBUFSIZE]={"{"},encap_suffix[STYBUFSIZE]={"}"}; int line_max=72; -char indent_space[2048]={"\t\t"}; +char indent_space[STYBUFSIZE]={"\t\t"}; int indent_length=16; int priority=0; -char symbol[2048]={""}; -char symhead_positive[2048]={"Symbols"},symhead_negative[2048]={"symbols"}; -char numhead_positive[2048]={"Numbers"},numhead_negative[2048]={"numbers"}; +char symbol[STYBUFSIZE]={""}; +char symhead_positive[STYBUFSIZE]={"Symbols"},symhead_negative[STYBUFSIZE]={"symbols"}; +char numhead_positive[STYBUFSIZE]={"Numbers"},numhead_negative[STYBUFSIZE]={"numbers"}; int symbol_flag=1; int letter_head=1; -char atama[2048]; -char page_compositor[2048]={"-"},page_precedence[2048]={"rnaRA"}; -char character_order[2048]={"SNEJ"}; +char atama[STYBUFSIZE]; +char page_compositor[STYBUFSIZE]={"-"},page_precedence[STYBUFSIZE]={"rnaRA"}; +char character_order[STYBUFSIZE]={"SNEJ"}; |