ircd_parser: Fix whitespace errors.
This commit is contained in:
parent
299e25a630
commit
e8cfec47c6
1 changed files with 20 additions and 20 deletions
|
@ -34,7 +34,7 @@ static time_t conf_find_time(char*);
|
|||
static struct {
|
||||
const char * name;
|
||||
const char * plural;
|
||||
time_t val;
|
||||
time_t val;
|
||||
} ircd_times[] = {
|
||||
{"second", "seconds", 1},
|
||||
{"minute", "minutes", 60},
|
||||
|
@ -163,8 +163,8 @@ static void add_cur_list(int type, char *str, int number)
|
|||
%}
|
||||
|
||||
%union {
|
||||
int number;
|
||||
char string[IRCD_BUFSIZE + 1];
|
||||
int number;
|
||||
char string[IRCD_BUFSIZE + 1];
|
||||
conf_parm_t * conf_parm;
|
||||
}
|
||||
|
||||
|
@ -197,7 +197,7 @@ block: string
|
|||
'{' block_items '}' ';'
|
||||
{
|
||||
if (conf_cur_block)
|
||||
conf_end_block(conf_cur_block);
|
||||
conf_end_block(conf_cur_block);
|
||||
}
|
||||
| string qstring
|
||||
{
|
||||
|
@ -206,7 +206,7 @@ block: string
|
|||
'{' block_items '}' ';'
|
||||
{
|
||||
if (conf_cur_block)
|
||||
conf_end_block(conf_cur_block);
|
||||
conf_end_block(conf_cur_block);
|
||||
}
|
||||
;
|
||||
|
||||
|
@ -310,7 +310,7 @@ string: STRING { strcpy($$, $1); } ;
|
|||
number: NUMBER { $$ = $1; } ;
|
||||
|
||||
timespec: number string
|
||||
{
|
||||
{
|
||||
time_t t;
|
||||
|
||||
if ((t = conf_find_time($2)) == 0)
|
||||
|
|
Loading…
Reference in a new issue