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