Permalink
Browse files

DocumentStartEvent expects "explicit" but we are passing implicit, so…

… invert the flag
  • Loading branch information...
tenderlove committed Apr 28, 2012
1 parent 9030df9 commit 09f3bfa38bf45b0291eb22ecd3cb28d53e5c16d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/jruby/ext/psych/PsychEmitter.java
@@ -135,7 +135,7 @@ public IRubyObject start_document(ThreadContext context, IRubyObject version, IR
}
}
- DocumentStartEvent event = new DocumentStartEvent(NULL_MARK, NULL_MARK, implicitBool, versionInts, tagsMap);
+ DocumentStartEvent event = new DocumentStartEvent(NULL_MARK, NULL_MARK, !implicitBool, versionInts, tagsMap);
emit(context, event);
return this;
}

0 comments on commit 09f3bfa

Please sign in to comment.