Skip to content

Commit 74a580d

Browse files
Merge pull request #16 from JunLang-dev/development
v1.14.4
2 parents 6c1c1a8 + 86e7da8 commit 74a580d

File tree

14 files changed

+68
-78
lines changed

14 files changed

+68
-78
lines changed

.vscode/settings.json

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

src/const.hpp

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

src/identifiers/end_if.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "../init.hpp"
21
void end_if(vector<string>::iterator it) {
32
if (!ifFlag.empty()) {
43
ifFlag.pop();

src/identifiers/end_loop.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "../init.hpp"
21
void end_loop(vector<string>::iterator it, ifstream &file) {
32
if (!loopFlag.empty()) {
43
if (loopFlag.top() == true) {
@@ -10,7 +9,7 @@ void end_loop(vector<string>::iterator it, ifstream &file) {
109
}
1110
else {
1211
if (!loopLine.empty()) {
13-
file.seekg(loopLine.top() - 2);
12+
file.seekg(int(loopLine.top()) - 2);
1413
}
1514
break;
1615
}

src/identifiers/equal_or_greater.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "../init.hpp"
21
void equal_or_greater(vector<string>::iterator it) {
32
bool undeclared = true;
43
for (int i = 0; i <= variableCount; i++) {

src/identifiers/equal_or_less.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "../init.hpp"
21
void equal_or_less(vector<string>::iterator it) {
32
bool undeclared = true;
43
for (int i = 0; i <= variableCount; i++) {

src/identifiers/if.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "../init.hpp"
21
void _if(vector<string>::iterator it) {
32
bool variable = false;
43
for (int i = 0; i <= variableCount; i++) {

src/identifiers/less.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "../init.hpp"
21
void _less(vector<string>::iterator it) {
32
bool undeclared = true;
43
for (int i = 0; i <= variableCount; i++) {

src/identifiers/loop.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "../init.hpp"
21
void loop(vector<string>::iterator it, ifstream &file) {
32
bool variable = false;
43
for (int i = 0; i <= variableCount; i++) {
@@ -8,7 +7,7 @@ void loop(vector<string>::iterator it, ifstream &file) {
87
loopFlag.push(false);
98
}
109
else {
11-
loopLine.push(file.tellg() - 2);
10+
loopLine.push(int(file.tellg()) - 2);
1211
loopFlag.push(true);
1312
}
1413
variable = true;

src/identifiers/not.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "../init.hpp"
21
void _not(vector<string>::iterator it) {
32
bool undeclared = true;
43
for (int i = 0; i <= variableCount; i++) {

0 commit comments

Comments
 (0)