summaryrefslogtreecommitdiffstats
path: root/tapset-mark.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapset-mark.cxx')
-rw-r--r--tapset-mark.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset-mark.cxx b/tapset-mark.cxx
index a358a20e..fcde9ed5 100644
--- a/tapset-mark.cxx
+++ b/tapset-mark.cxx
@@ -105,7 +105,7 @@ mark_var_expanding_visitor::visit_target_symbol_arg (target_symbol* e)
if (e->components.size() > 0)
{
- switch (e->components[0].first)
+ switch (e->components[0].type)
{
case target_symbol::comp_literal_array_index:
throw semantic_error("marker argument may not be used as array",
@@ -140,7 +140,7 @@ mark_var_expanding_visitor::visit_target_symbol_context (target_symbol* e)
if (e->components.size() > 0)
{
- switch (e->components[0].first)
+ switch (e->components[0].type)
{
case target_symbol::comp_literal_array_index:
throw semantic_error("marker '" + sname + "' may not be used as array",