Fix bugs in --no-simplification-of-shared-nodes (#99)

* Fix bugs in --no-simplification-of-shared-nodes

* Update changelog
This commit is contained in:
Erica Fischer
2023-05-08 15:31:46 -07:00
committed by GitHub
parent 605640e138
commit 523ca55243
9 changed files with 47 additions and 11 deletions
+1 -3
View File
@@ -1178,7 +1178,7 @@ int main(int argc, char **argv) {
std::string sa;
filearg = 1;
while (getline(read_file, sa)) {
char* c = const_cast<char*>(sa.c_str());
char *c = const_cast<char *>(sa.c_str());
reader *r = begin_reading(c);
struct reader **rr;
for (rr = &readers; *rr != NULL; rr = &((*rr)->next)) {
@@ -1191,7 +1191,6 @@ int main(int argc, char **argv) {
}
read_file.close();
}
}
case 'q':
@@ -1262,7 +1261,6 @@ int main(int argc, char **argv) {
std::string description;
std::string name;
if (filearg == 0) {
for (i = optind; i < argc; i++) {
reader *r = begin_reading(argv[i]);