ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/gtest.cpp
(Generate patch)
# Line 58 | Line 58
58       GMessage("%s\n",a);
59       }
60     }
61 + GStr s=args.getOpt('t');
62 + if (!s.is_empty()) {
63 +    GStr token;
64 +    GMessage("Tokens in \"%s\" :\n",s.chars());
65 +    s.startTokenize(";,: \t");
66 +    int c=1;
67 +    while (s.nextToken(token)) {
68 +      GMessage("token %2d : \"%s\"\n",c,token.chars());
69 +      c++;
70 +      }
71 +    }
72   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines