Skip to content

Commit 1a8fbc8

Browse files
committed
Fix FAILGOAL in HLL::Grammar.
1 parent bfe3fcc commit 1a8fbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HLL/Grammar.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ of the match.
277277

278278
method FAILGOAL($goal, $dba?) {
279279
unless $dba {
280-
$dba := ~nqp::callercode();
280+
$dba := nqp::getcodename(nqp::callercode());
281281
}
282282
self.panic("Unable to parse expression in $dba; couldn't find final $goal");
283283
}

0 commit comments

Comments
 (0)