Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signal constants.
  • Loading branch information
jnthn committed Apr 20, 2014
1 parent a66079d commit feefbf2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vm/moar/QAST/QASTOperationsMAST.nqp
Expand Up @@ -1710,6 +1710,11 @@ my %const_map := nqp::hash(
'STAT_PLATFORM_DEVTYPE', -5,
'STAT_PLATFORM_BLOCKSIZE', -6,
'STAT_PLATFORM_BLOCKS', -7,

'SIG_INT', 1,
'SIG_BREAK', 2,
'SIG_HUP', 3,
'SIG_WINCH', 4,
);
QAST::MASTOperations.add_core_op('const', -> $qastcomp, $op {
if nqp::existskey(%const_map, $op.name) {
Expand Down

0 comments on commit feefbf2

Please sign in to comment.