X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=CarFire%2FCarFire%2FCarFire%2FParse.cs;h=bb2e9c1115d6d10bfdde9ed296a34cb468bd4add;hb=594f1f722dc8e405dff12baad8c2ef5481fa3fa7;hp=2df3ca73028aadadc36013bb529593b988e38dfd;hpb=722dcd763d115992b2a56d4001db80d11e583064;p=chaz%2Fcarfire
diff --git a/CarFire/CarFire/CarFire/Parse.cs b/CarFire/CarFire/CarFire/Parse.cs
index 2df3ca7..bb2e9c1 100644
--- a/CarFire/CarFire/CarFire/Parse.cs
+++ b/CarFire/CarFire/CarFire/Parse.cs
@@ -10,7 +10,7 @@ namespace CarFire
///
/// Class with handy static methods taking strings and returning objects
/// parsed from those strings. For all of these functions, white space is
- /// generally ignored, but any superfluous characters will make the parse fail.
+ /// generally ignored, but superfluous characters are not allowed.
///
public class Parse
{
@@ -30,7 +30,7 @@ namespace CarFire
/// Parses a comment of an INI file.
///
/// Text.
- /// The comment.
+ /// The comment, or null if parsing failed.
public static string IniComment(string line)
{
Match match = Regex.Match(line, @"^;\s*(.*)\s*$");
@@ -131,7 +131,7 @@ namespace CarFire
{
try
{
- return (T)System.Enum.Parse(typeof(T), String(atom), true);
+ return (T)System.Enum.Parse(typeof(T), String(atom));
}
#pragma warning disable 0168
catch (System.Exception ex)