From 2114bdbe326a18f092ffaf2b90fbe8621da1b5f2 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 19 Apr 1995 12:11:24 +0000 Subject: [PATCH] Minor change. --- ccl/ccltoken.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ccl/ccltoken.c b/ccl/ccltoken.c index 6930adf..26a45f6 100644 --- a/ccl/ccltoken.c +++ b/ccl/ccltoken.c @@ -2,7 +2,10 @@ * Europagate, 1995 * * $Log: ccltoken.c,v $ - * Revision 1.6 1995/04/17 09:31:48 adam + * Revision 1.7 1995/04/19 12:11:24 adam + * Minor change. + * + * Revision 1.6 1995/04/17 09:31:48 adam * Improved handling of qualifiers. Aliases or reserved words. * * Revision 1.5 1995/02/23 08:32:00 adam @@ -45,6 +48,8 @@ static int token_cmp (const char *kw, struct ccl_token *token) { const char *cp1 = kw; const char *cp2; + if (!kw) + return 0; while ((cp2 = strchr (cp1, ' '))) { if (token->len == cp2-cp1 && -- 1.7.10.4