//GPRINT:vname:format[:strftime] in case of VDEF-based vname private void parseGPrint(String word) { String[] tokens = CommandSplitter.split(word); bool strftime = (tokens[tokens.Length - 1].Contains("strftime")); if (tokens.Length < 3) { throw new ArgumentException("Invalid GPRINT specification: " + word); } gdef.gprint(tokens[1], tokens[2], strftime); }