summaryrefslogtreecommitdiff
path: root/src/redbuild.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/redbuild.cc
parent368a8d850061dcae69bf2f7a7b2dc9ef209de2c9 (diff)
downloadcolm-ee828d42d730aa73f5d579c2650819aff22d7f2c.tar.gz
don't use InputLoc in GenAction so we can keep it trivial.
Diffstat (limited to 'src/redbuild.cc')
-rw-r--r--src/redbuild.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redbuild.cc b/src/redbuild.cc
index 7e0396d7..7f600ee7 100644
--- a/src/redbuild.cc
+++ b/src/redbuild.cc
@@ -382,8 +382,8 @@ void RedFsmBuild::newAction( int anum, char *name, int line, int col, Action *ac
{
redFsm->allActions[anum].actionId = anum;
redFsm->allActions[anum].name = name;
- redFsm->allActions[anum].loc.line = line;
- redFsm->allActions[anum].loc.col = col;
+ redFsm->allActions[anum].loc_line = line;
+ redFsm->allActions[anum].loc_col = col;
redFsm->allActions[anum].inlineList = action->inlineList;
redFsm->allActions[anum].objField = action->objField;
redFsm->allActions[anum].markType = action->markType;