From: helly Date: Tue, 17 Jan 2006 19:40:12 +0000 (+0000) Subject: - Applied #1408282 CharSet initialization fix. X-Git-Tag: 0.13.6~499 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98926bc22d7b4a6423908cd995a83e800d4c8bc3;p=re2c - Applied #1408282 CharSet initialization fix. --- diff --git a/CHANGELOG b/CHANGELOG index cf4954f2..5f955968 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ Version 0.10.0 (????-??-??) - Added support for DOS line endings. - Added experimental unicode support. - Added config_w32.h to build out of the box on windows (using msvc 2002+). +- Applied #1408282 CharSet initialization fix. - Applied #1408278 readsome with MSVC. - Applied #1307467 Unicode patch for 0.9.7. diff --git a/actions.cc b/actions.cc index 73250d17..4795ac6d 100644 --- a/actions.cc +++ b/actions.cc @@ -967,6 +967,7 @@ CharSet::CharSet() { rep[j] = &ptn[0]; ptn[j].nxt = &ptn[j + 1]; /* wrong for j=nRealChars but will be corrected below */ + ptn[j].card = 0; } freeHead = &ptn[1];