Paul Gofman : wmc: Add Null facility.

Alexandre Julliard julliard at winehq.org
Tue Aug 25 16:16:57 CDT 2020


Module: wine
Branch: master
Commit: 2255a21bc64a3f5a26764009cd99b31de680b15a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2255a21bc64a3f5a26764009cd99b31de680b15a

Author: Paul Gofman <pgofman at codeweavers.com>
Date:   Tue Aug 25 16:22:38 2020 +0300

wmc: Add Null facility.

Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/wmc/mcl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/wmc/mcl.c b/tools/wmc/mcl.c
index 829f955606..579d4b8788 100644
--- a/tools/wmc/mcl.c
+++ b/tools/wmc/mcl.c
@@ -85,6 +85,7 @@ static const WCHAR ustr_language[]	= { 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0
 static const WCHAR ustr_languagenames[]	= { 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 'N', 'a', 'm', 'e', 's', 0};
 static const WCHAR ustr_messageid[]	= { 'M', 'e', 's', 's', 'a', 'g', 'e', 'I', 'd', 0 };
 static const WCHAR ustr_messageidtypedef[] = { 'M', 'e', 's', 's', 'a', 'g', 'e', 'I', 'd', 'T', 'y', 'p', 'e', 'd', 'e', 'f', 0 };
+static const WCHAR ustr_null[]	= { 'N', 'u', 'l', 'l', 0 };
 static const WCHAR ustr_outputbase[]	= { 'O', 'u', 't', 'p', 'u', 't', 'B', 'a', 's', 'e', 0 };
 static const WCHAR ustr_severity[]	= { 'S', 'e', 'v', 'e', 'r', 'i', 't', 'y', 0 };
 static const WCHAR ustr_severitynames[]	= { 'S', 'e', 'v', 'e', 'r', 'i', 't', 'y', 'N', 'a', 'm', 'e', 's', 0 };
@@ -551,6 +552,7 @@ int mcy_lex(void)
 		add_token(tok_severity,	ustr_success,		0x00,		0, NULL, 0);
 		add_token(tok_facility,	ustr_application,	0xFFF,		0, NULL, 0);
 		add_token(tok_facility,	ustr_system,		0x0FF,		0, NULL, 0);
+		add_token(tok_facility,	ustr_null,   		0x000,		0, NULL, 0);
 		add_token(tok_language,	ustr_english,		0x409,		437, ustr_msg00001, 0);
 	}
 




More information about the wine-cvs mailing list