From 4cf95497f9afaead3d9d308dabe8e8b26949502f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 26 Feb 2012 02:18:22 -0600 Subject: Keep notes on their own line if parsed that way --- src/textual.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index c7c49e2a..ddbd9943 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -577,6 +577,7 @@ void instance_t::automated_xact_directive(char * line) // This is a trailing note, and possibly a metadata info tag item->append_note(p + 1, context.scope, true); + item->add_flags(ITEM_NOTE_ON_NEXT_LINE); item->pos->end_pos = curr_pos; item->pos->end_line++; @@ -1529,6 +1530,7 @@ xact_t * instance_t::parse_xact(char * line, if (*p == ';') { // This is a trailing note, and possibly a metadata info tag item->append_note(p + 1, context.scope, true); + item->add_flags(ITEM_NOTE_ON_NEXT_LINE); item->pos->end_pos = curr_pos; item->pos->end_line++; } -- cgit v1.2.3