From aea9114a4670c9bd1d4adfb8696972b52788ef10 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sun, 23 Oct 2011 17:16:10 +0000 Subject: Added method of accessing the repeated value in the C++ export code. refs #328. --- colm/resolve.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'colm/resolve.cc') diff --git a/colm/resolve.cc b/colm/resolve.cc index aae2a8ec..8e8ab630 100644 --- a/colm/resolve.cc +++ b/colm/resolve.cc @@ -265,6 +265,7 @@ void TypeRef::resolveRepeat( ParseData *pd ) } uniqueRepeat->declLangEl = declLangEl; + declLangEl->repeatOf = uniqueRepeat->langEl; } uniqueType = pd->findUniqueType( TYPE_TREE, uniqueRepeat->declLangEl ); -- cgit v1.2.1