--------------------------------------------------------------
| 909 | |
| 910 | // -------------------------------------------------------------- |
| 911 | void |
| 912 | OutputVariableList(const vector<Variable*> &vars, std::ostream &out, int indent) |
| 913 | { |
| 914 | size_t i; |
| 915 | // have to use iterator instead of map because we need indent as paramter |
| 916 | for (i=0; i<vars.size(); i++) { |
| 917 | vars[i]->OutputDef(out, indent); |
| 918 | } |
| 919 | if (!vars.empty() && !vars[0]->is_global()) { |
| 920 | OutputArrayInitializers(vars, out, indent); |
| 921 | } |
| 922 | } |
| 923 | |
| 924 | void |
| 925 | OutputVariableDeclList(const vector<Variable*> &var, std::ostream &out, std::string prefix, int indent) |
no test coverage detected