Skip to content

Commit fb70e37

Browse files
Merge pull request #20 from JunLang-dev/development
v1.14.6
2 parents eefa961 + 3502279 commit fb70e37

File tree

2 files changed

+7
-28
lines changed

2 files changed

+7
-28
lines changed

JunLang.sublime-syntax

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/identifiers/output.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ void output(vector<string>::iterator it) {
1313
}
1414
}
1515
else {
16-
cout << string(*(it + 1)).substr(1, strlen((*(it + 1)).c_str()) - 2);
16+
string result = string(*(it + 1)).substr(1, strlen((*(it + 1)).c_str()) - 2);
17+
for (int i = 0; i < result.size(); i++) {
18+
if (result[i] == '_') {
19+
result[i] = ' ';
20+
}
21+
}
22+
cout << result;
1723
}
1824
}

0 commit comments

Comments
 (0)