Files
mercury/tests/debugger/cmd_quote.inp
Zoltan Somogyi 4ce32c27a7 When the input contains an unmatched quote or backslash, which can
Estimated hours taken: 1
Branches: main

trace/mercury_trace_internal.m:
	When the input contains an unmatched quote or backslash, which can
	happen when the user accidentally types ctrl-D, do not abort, which can
	lose a long debugging session. Instead, just print a message.

tests/debugger/cmd_quote.{inp,exp}:
	Update this test case to test the new functionality.
2004-01-26 21:17:35 +00:00

26 lines
185 B
Plaintext

echo on
print \ foo
print \\
print 'foo'
print '\''
print ''''
print \
foo \
bar \
baz
print 'foo
bar
baz '
print '
foo \
bar \'
'
\\\
\\\\
\\\\\\\\
\'\'\'\'
'foo\''
\ \ \ .
'\ \\\''
'