conversion for boneyard comments -> LABEL in hollywoo
This commit is contained in:
@@ -41,3 +41,14 @@
|
|||||||
(when line
|
(when line
|
||||||
(+= output "NORMALSPEECH \"${name}\" \"${wryly}\" ##\"${line}\"##\n"))))
|
(+= output "NORMALSPEECH \"${name}\" \"${wryly}\" ##\"${line}\"##\n"))))
|
||||||
output)))
|
output)))
|
||||||
|
|
||||||
|
(registerConversion
|
||||||
|
(new ktxt2.StreamConversion "Label" "fountain" "hollywoo"
|
||||||
|
->stream ?{(stream.dropWhitespace) (stream.startsWith "/*")}
|
||||||
|
->stream
|
||||||
|
"LABEL $(.trim
|
||||||
|
(.replace
|
||||||
|
(.replace
|
||||||
|
(.replace stream.content "/*" "")
|
||||||
|
"*/" "")
|
||||||
|
"*" ""))\n"))
|
||||||
Reference in New Issue
Block a user