PREV INDEX NEXT

Author: Unknown
Subject: Line splicing
Date: Monday, 27 Jan 2020, 22:03:11

In response to someone's question about line splices not nesting, you provided this example:

  sam\\

  ple

and said that Cxref should treat it like this

  sam\
  ple

by removing one backslash and a newline character but not removing the other backslash and newline character since the other backslash wasn't originally followed by the other newline character. If this is the case, then there is only one newline character between "sam\" and "ple" and Cxref's output should be:

  sam:1
  ple: 2

However, when you pass this snippet in as standard input to the staff solution, it outputs

  sam:1
  ple:3

Is this incorrect?
PREV INDEX NEXT