summaryrefslogtreecommitdiff
path: root/src/redfsm.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2020-12-09 10:06:59 -0800
committerAdrian Thurston <thurston@colm.net>2020-12-09 10:06:59 -0800
commitee828d42d730aa73f5d579c2650819aff22d7f2c (patch)
tree33baae9a70f3f946ba10feac3bb15c9a3623eae6 /src/redfsm.cc
parent368a8d850061dcae69bf2f7a7b2dc9ef209de2c9 (diff)
downloadcolm-ee828d42d730aa73f5d579c2650819aff22d7f2c.tar.gz
don't use InputLoc in GenAction so we can keep it trivial.
Diffstat (limited to 'src/redfsm.cc')
-rw-r--r--src/redfsm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redfsm.cc b/src/redfsm.cc
index d79a1e32..6d5c426b 100644
--- a/src/redfsm.cc
+++ b/src/redfsm.cc
@@ -41,7 +41,7 @@ string nameOrLoc( GenAction *genAction )
return string(genAction->name);
else {
ostringstream ret;
- ret << genAction->loc.line << ":" << genAction->loc.col;
+ ret << genAction->loc_line << ":" << genAction->loc_col;
return ret.str();
}
}