summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-09-08 10:08:47 -0600
committerAdrian Thurston <thurston@colm.net>2019-09-08 10:08:47 -0600
commitc9a649b78df95b76b579df6ba879fb08bdf7dd94 (patch)
tree3c3145df830124b11d48a81e82e81c9fd20910e0
parenta457019c3d0f2bb44dce17fab76f25655090dbb5 (diff)
downloadragel-master.tar.gz
need to use open curly as action locationragel-master
-rw-r--r--src/rlreduce.lm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlreduce.lm b/src/rlreduce.lm
index aded9232..88b807f7 100644
--- a/src/rlreduce.lm
+++ b/src/rlreduce.lm
@@ -167,7 +167,7 @@ reduction TopLevel
}
else {
/* Add the action to the list of actions. */
- Action *newAction = new Action( @1, data,
+ Action *newAction = new Action( &$action_block->loc, data,
$action_block->inlineList, pd->fsmCtx->nextCondId++ );
/* Insert to list and dict. */
@@ -189,7 +189,7 @@ reduction TopLevel
}
else {
/* Add the action to the list of actions. */
- Action *newAction = new Action( @1, data,
+ Action *newAction = new Action( &$action_block->loc, data,
$action_block->inlineList, pd->fsmCtx->nextCondId++ );
/* Insert to list and dict. */