YarnSpinnerTool / YarnSpinner

Yarn Spinner is a tool for building interactive dialogue in games!
https://yarnspinner.dev
MIT License
2.3k stars 201 forks source link

Running `ysc tag` appears to de-escape `\\` to just `\` #373

Closed sanbox-irl closed 1 year ago

sanbox-irl commented 1 year ago

Looks like it basically mangles the \\ into just \, which makes the next compilation fail.

Input:

title: test
position: 0,0
---
\\
===

running:

./path/to/ysc tag ./path/to/demo.yarn

Output:

title: test
position: 0,0
---
\ #line:06a0fd9 
===
McJones commented 1 year ago

oh nice find. I think this might actually be a bug on the core of YS, not ysc itself. Will investigate.

McJones commented 1 year ago

transferred this to core as it is in the tagger, not YSC