[macruby-changes] [3518] MacRuby/trunk/ext/libyaml/emitter.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri Feb 12 14:15:21 PST 2010
Revision: 3518
http://trac.macosforge.org/projects/ruby/changeset/3518
Author: neeracher at apple.com
Date: 2010-02-12 14:15:21 -0800 (Fri, 12 Feb 2010)
Log Message:
-----------
Don't break :inline structures at 80 column boundaries
Modified Paths:
--------------
MacRuby/trunk/ext/libyaml/emitter.c
Modified: MacRuby/trunk/ext/libyaml/emitter.c
===================================================================
--- MacRuby/trunk/ext/libyaml/emitter.c 2010-02-12 19:24:10 UTC (rev 3517)
+++ MacRuby/trunk/ext/libyaml/emitter.c 2010-02-12 22:15:21 UTC (rev 3518)
@@ -768,7 +768,7 @@
return 0;
}
- if (emitter->canonical || emitter->column > emitter->best_width) {
+ if (emitter->canonical) {
if (!yaml_emitter_write_indent(emitter))
return 0;
}
@@ -816,7 +816,7 @@
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
return 0;
}
- if (emitter->canonical || emitter->column > emitter->best_width) {
+ if (emitter->canonical) {
if (!yaml_emitter_write_indent(emitter))
return 0;
}
@@ -854,7 +854,7 @@
return 0;
}
else {
- if (emitter->canonical || emitter->column > emitter->best_width) {
+ if (emitter->canonical) {
if (!yaml_emitter_write_indent(emitter))
return 0;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100212/52a16c9c/attachment.html>
More information about the macruby-changes
mailing list