diff options
author | Adrian Thurston <thurston@colm.net> | 2019-09-08 10:08:47 -0600 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2019-09-08 10:08:47 -0600 |
commit | c9a649b78df95b76b579df6ba879fb08bdf7dd94 (patch) | |
tree | 3c3145df830124b11d48a81e82e81c9fd20910e0 | |
parent | a457019c3d0f2bb44dce17fab76f25655090dbb5 (diff) | |
download | ragel-master.tar.gz |
need to use open curly as action locationragel-master
-rw-r--r-- | src/rlreduce.lm | 4 |
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. */ |