]> git.sur5r.net Git - bacula/bacula/commitdiff
Increase default gnome window size + add \r to token term chars
authorKern Sibbald <kern@sibbald.com>
Sun, 21 Sep 2003 12:04:17 +0000 (12:04 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 21 Sep 2003 12:04:17 +0000 (12:04 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@709 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/lib/lex.c

index c056395a5b7e303791928c9fb1435cf3e8fd847f..efc64b41cae5cf97271f9fbda827e73a3b2617e4 100644 (file)
@@ -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.
-
index 64b611d11b97843af57c2ee75ccd98f8a231af4b..8a527eefbf29b06f2cb22928c8345235aa68377f 100644 (file)
@@ -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;