diff options
author | xhe <xw897002528@gmail.com> | 2017-05-20 09:29:06 +0800 |
---|---|---|
committer | xhe <xw897002528@gmail.com> | 2017-05-20 09:29:06 +0800 |
commit | 98d69a67e7c877286296ec3f9784178e1d59bf24 (patch) | |
tree | 7caf1e98e248889529262b148385a6cf6f66ae15 | |
parent | 4bf136b7a614417eb06ed9ef24d388c883e8b0d5 (diff) | |
download | gettext-tiny-98d69a67e7c877286296ec3f9784178e1d59bf24.tar.gz |
fix for rule:
with rtype in compiling of glib, a hidden bug was found
excepted: swith(msgstr, ctxt) == la_proc
reality: swith(msgstr, ctxt) == la_abort
the wrong rule was introduced in https://github.com/sabotage-linux/gettext-tiny/commit/d1bd158eb7463967ab3dd9a862e14d114523d37b
-rw-r--r-- | src/poparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poparser.c b/src/poparser.c index c791063..89d0046 100644 --- a/src/poparser.c +++ b/src/poparser.c @@ -156,7 +156,7 @@ int poparser_feed_line(struct po_parser *p, char* line, size_t buflen) { [pe_msgstr] = { [pe_str] = la_incr, [pe_msgid] = la_proc, - [pe_ctxt] = la_abort, + [pe_ctxt] = la_proc, [pe_plural] = la_abort, [pe_msgstr] = la_proc, [pe_invalid] = la_proc, |