[macruby-changes] [4015] MacRuby/trunk/re.cpp

source_changes at macosforge.org source_changes at macosforge.org
Mon May 3 21:19:14 PDT 2010


Revision: 4015
          http://trac.macosforge.org/projects/ruby/changeset/4015
Author:   lsansonetti at apple.com
Date:     2010-05-03 21:19:13 -0700 (Mon, 03 May 2010)
Log Message:
-----------
fix a small typo in the compilation error message

Modified Paths:
--------------
    MacRuby/trunk/re.cpp

Modified: MacRuby/trunk/re.cpp
===================================================================
--- MacRuby/trunk/re.cpp	2010-05-04 00:31:27 UTC (rev 4014)
+++ MacRuby/trunk/re.cpp	2010-05-04 04:19:13 UTC (rev 4015)
@@ -144,7 +144,7 @@
 	delete unistr;
 	if (excp != NULL) {
 	    char error[1024];
-	    snprintf(error, sizeof error, "regexp `%s 'compilation error: %s",
+	    snprintf(error, sizeof error, "regexp `%s' compilation error: %s",
 		    RSTRING_PTR(str),
 		    u_errorName(status));
 	    *excp = rb_exc_new2(rb_eRegexpError, error);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100503/50b0a307/attachment.html>


More information about the macruby-changes mailing list