Skip to content

Commit e305290

Browse files
Add files via upload
1 parent 0f518f7 commit e305290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JunLang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ int main (int argc, char* argv[]) {
3636
}
3737
char buffer[bufferSize];
3838
ifstream file(fileName);
39-
if (!file.is_open() || regex_match(fileName, regex("*.jun", regex::icase))) {
39+
if (!file.is_open()) {
4040
cout << "[Error] File cannot open." << endl;
4141
}
4242
while (file.good()) {

0 commit comments

Comments
 (0)