diff options
author | Adrian Thurston <thurston@colm.net> | 2020-12-09 10:06:59 -0800 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-12-09 10:06:59 -0800 |
commit | ee828d42d730aa73f5d579c2650819aff22d7f2c (patch) | |
tree | 33baae9a70f3f946ba10feac3bb15c9a3623eae6 /src/redfsm.cc | |
parent | 368a8d850061dcae69bf2f7a7b2dc9ef209de2c9 (diff) | |
download | colm-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.cc | 2 |
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(); } } |