| 922 | } |
| 923 | |
| 924 | void |
| 925 | OutputVariableDeclList(const vector<Variable*> &var, std::ostream &out, std::string prefix, int indent) |
| 926 | { |
| 927 | // have to use iterator instead of map because we need indent as paramter |
| 928 | for (size_t i=0; i<var.size(); i++) { |
| 929 | output_tab(out, indent); |
| 930 | out << prefix; |
| 931 | var[i]->OutputDecl(out); |
| 932 | out << ";"; |
| 933 | outputln(out); |
| 934 | } |
| 935 | } |
| 936 | |
| 937 | bool |
| 938 | Variable::compatible(const Variable *v) const |
no test coverage detected