Skip to content

Commit

Permalink
fix for node 0.6.x, sys module is now util
Browse files Browse the repository at this point in the history
  • Loading branch information
Caolan McMahon committed Nov 20, 2011
1 parent cce20cc commit 6e3667f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Parser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var EventEmitter = require('events').EventEmitter;
var sys = require('sys');
var util = require('util');
var assert = require('assert');

/**
Expand Down Expand Up @@ -38,7 +38,7 @@ function Parser (tokenizer) {
self._newToken(token, type);
});
}
sys.inherits(Parser, EventEmitter);
util.inherits(Parser, EventEmitter);

/**
* this function should be called before the parsing begins to specify
Expand Down

0 comments on commit 6e3667f

Please sign in to comment.