From e3b0d7aaeef24960c1152b51a21359293f758ed3 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 21 Sep 2003 12:04:17 +0000 Subject: [PATCH] Increase default gnome window size + add \r to token term chars git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@709 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kernstodo | 3 +-- bacula/src/lib/lex.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bacula/kernstodo b/bacula/kernstodo index c056395a5b..efc64b41ca 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -1,5 +1,5 @@ Kern's ToDo List - 18 September 2003 + 20 September 2003 Documentation to do: (any release a little bit at a time) - Document running a test version. @@ -929,4 +929,3 @@ Done: (see kernsdone for more) - Require some modifer. - Restrict characters permitted in a Resource name, and don't permit duplicate names. - diff --git a/bacula/src/lib/lex.c b/bacula/src/lib/lex.c index 64b611d11b..8a527eefbf 100644 --- a/bacula/src/lib/lex.c +++ b/bacula/src/lib/lex.c @@ -391,7 +391,7 @@ lex_get_token(LEX *lf, int expect) break; } if (ch == '\n' || ch == L_EOL || ch == '=' || ch == '}' || ch == '{' || - ch == ';' || ch == ',' || ch == '#' || (B_ISSPACE(ch)) ) { + ch == '\r' || ch == ';' || ch == ',' || ch == '#' || (B_ISSPACE(ch)) ) { lex_unget_char(lf); token = T_UNQUOTED_STRING; lf->state = lex_none; @@ -407,7 +407,7 @@ lex_get_token(LEX *lf, int expect) } else if (B_ISSPACE(ch)) { break; } else if (ch == '\n' || ch == L_EOL || ch == '=' || ch == '}' || ch == '{' || - ch == ';' || ch == ',' || ch == '"' || ch == '#') { + ch == '\r' || ch == ';' || ch == ',' || ch == '"' || ch == '#') { lex_unget_char(lf); token = T_IDENTIFIER; lf->state = lex_none; -- 2.39.5