Commit 1ea8647c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(match): Changed type of collat_tab argument from char to unsigned char.

(parse): Ditto.
parent 3da55021
/*
* $Id: parser.c,v 0.20 2002/03/29 22:38:08 ceder Exp $
* $Id: parser.c,v 0.21 2002/10/05 00:07:21 ceder Exp $
* Copyright (C) 1990-1991, 1993-1995, 1998-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -271,7 +271,7 @@ free_tokens (Parse_token * token_list)
EXPORT int
match (Parse_token * source,
Parse_token * pattern,
char collat_tab [ COLLAT_TAB_SIZE ] )
unsigned char collat_tab[COLLAT_TAB_SIZE])
{
int word_no;
......@@ -308,7 +308,7 @@ parse (String source_string,
Bool allow_trailing_words,
Bool number_of_words_must_match,
String separators,
char collat_tab [ COLLAT_TAB_SIZE ] )
unsigned char collat_tab[COLLAT_TAB_SIZE])
{
Parse_info answer;
......
/*
* $Id: parser.h,v 0.10 1999/07/02 00:13:34 byers Exp $
* $Id: parser.h,v 0.11 2002/10/05 00:07:20 ceder Exp $
* Copyright (C) 1990-1991, 1994-1995, 1998-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: parser.h,v 0.10 1999/07/02 00:13:34 byers Exp $
* $Id: parser.h,v 0.11 2002/10/05 00:07:20 ceder Exp $
*
* client/parser.h -- Header file for LysKOM command parsing routines
*
......@@ -129,7 +129,7 @@ free_tokens (Parse_token * token_list);
extern int
match (Parse_token * source,
Parse_token * pattern,
char collat_tab [ COLLAT_TAB_SIZE ] );
unsigned char collat_tab[COLLAT_TAB_SIZE]);
......@@ -168,7 +168,7 @@ parse (String source_string,
Bool allow_trailing_words,
Bool number_of_words_must_match,
String separators,
char collat_tab [ COLLAT_TAB_SIZE ] );
unsigned char collat_tab[COLLAT_TAB_SIZE]);
#endif /* PARSER_H_ALREADY_INCLUDED__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment