Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 342effea authored by frey_m's avatar frey_m
Browse files

call setUpperCaseString in the parse call

parent c0f51daa
No related branches found
No related tags found
1 merge request!341Resolve "Upper case string attributes"
......@@ -16,6 +16,7 @@
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#include "Attributes/Attributes.h"
#include "Attributes/UpperCaseString.h"
#include "AbstractObjects/Expressions.h"
#include "Expressions/SValue.h"
......@@ -42,9 +43,8 @@ namespace Attributes {
return type;
}
void UpperCaseString::parse(Attribute &attr, Statement &stat, bool) const {
attr.set(new SValue<std::string>(Util::toUpper(parseString(stat, "String value expected."))));
Attributes::setUpperCaseString(attr, parseString(stat, "String value expected."));
}
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment