mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22:12 +00:00
Switch back to \n
This commit is contained in:
parent
d0d66d6c16
commit
032d1fefe6
@ -587,7 +587,7 @@ int parseZSharp(string script)
|
||||
#endif
|
||||
|
||||
// Split the script by ;, signifying a line ending
|
||||
vector<string> lines = split(script, ';');
|
||||
vector<string> lines = split(script, '\n');
|
||||
vector<vector<string>> words;
|
||||
for (int i = 0; i < (int)lines.size(); i++) // Then split said lines into indiviual words
|
||||
words.push_back(split(lines.at(i), ' '));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user