Skip to content

Commit c45ffac

Browse files
Merge pull request #7 from JunLang-dev/master
v1.13.1
2 parents 2bd99ad + 08bcfb5 commit c45ffac

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
JunLang.exe
2-
JunLang.out
3-
a.out
1+

JunLang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ int main(int argc, char* argv[]) {
160160
}
161161
}
162162
if (undeclared) {
163-
throw UndeclaredVariable();
163+
cerr << "[ERROR] Undeclared variable.\n";
164164
}
165165
break;
166166
}

JunLang.exe

2.41 MB
Binary file not shown.

JunLang.out

2.4 MB
Binary file not shown.

make.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
g++ JunLang.cpp -oJunLang.out -std=c++11 -static
2+
/usr/bin/i686-w64-mingw32-g++ JunLang.cpp -oJunLang.exe -std=c++11 -static

0 commit comments

Comments
 (0)