Skip to content

Commit

Permalink
[Truffle] Adding $SAFE global.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed Apr 15, 2015
1 parent 2d7c3a8 commit 4c52c92
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ private void initializeGlobalVariables() {

// TODO (nirvdrum 05-Feb-15) We need to support the $-0 alias as well.
globals.getOperations().setInstanceVariable(globals, "$/", defaultRecordSeparator);

globals.getOperations().setInstanceVariable(globals, "$SAFE", 0);
}

private void initializeConstants() {
Expand Down

0 comments on commit 4c52c92

Please sign in to comment.