Skip to content

Commit 23ae14c

Browse files
committed
Merge branch 'maint'
* maint: Test sigil strings Test all triple-quoted sigil types where possible Test escape sequence in ~s sigil triple-quoted string Test chopping scanned string between all characters Pass also the escape character in continuation
2 parents 3b815c4 + eff5fe2 commit 23ae14c

2 files changed

Lines changed: 410 additions & 226 deletions

File tree

lib/stdlib/src/erl_scan.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ scan_tqstring_lines(Cs0, Tqs, Line, Col, Str, Qn, ContentR, Acc) ->
12511251
C =:= $\\, not Tqs#tqs.verbatim ->
12521252
case scan_escape(Cs, Col) of
12531253
more ->
1254-
{more,Cs,Line,Col,Str,Qn,ContentR,Acc};
1254+
{more,Cs0,Line,Col,Str,Qn,ContentR,Acc};
12551255
{error,Ncs,Error,Ncol} ->
12561256
{error,Ncs,Line,Ncol,Line,Ncol+1,Error};
12571257
{eof,Ncol} ->

0 commit comments

Comments
 (0)