Commit f9c36020 authored by John van Groningen's avatar John van Groningen
Browse files

replace double ' by a single ' inside ' and '

parent d2c68c3f
......@@ -76,9 +76,12 @@ script_handler script files
= split quoted frm (to+2) n s
| s.[to] == ' ' && not quoted
= [s % (frm, to-1) : split False (to+1) (to+1) n s]
| s.[to] == '\'' && quoted
= [s % (frm, to-1) : split False (to+1) (to+1) n s]
| s.[to] == '\''
| quoted
| to<n-1 && s.[to+1]=='\''
# s=(s % (0,to-1))+++(s % (to+1,n-1))
= split quoted frm (to+1) (n-1) s
= [s % (frm, to-1) : split False (to+1) (to+1) n s]
= [s % (frm, to-1) : split True (to+1) (to+1) n s]
// otherwise
= split quoted frm (to+1) n s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment