diff --git a/example/test_code_environment.js b/example/test_code_environment.js index f86cba0..84c8307 100644 --- a/example/test_code_environment.js +++ b/example/test_code_environment.js @@ -3,7 +3,7 @@ */ var fs = require("fs"); -var Lexer = require('./lexer.js'); +var Lexer = require('./test_lexer.js'); var std = (function () { var protos = "__protos__"; diff --git a/example/lexer.js b/example/test_lexer.js similarity index 99% rename from example/lexer.js rename to example/test_lexer.js index 612b0d0..523b729 100644 --- a/example/lexer.js +++ b/example/test_lexer.js @@ -38,7 +38,7 @@ var errors = { "1": "found unknown symbol" }; -var Lexer = function(_string) { +var Test_lexer = function(_string) { this._last_found_lexeme = { error: -1 }; @@ -53,7 +53,7 @@ var Lexer = function(_string) { this._yy_accept = 0; }; -Lexer.prototype = { +Test_lexer.prototype = { types: types, errors: errors, _notFoundCloseQuote: function() { @@ -2206,4 +2206,4 @@ var print_f = function() { return r_str; }; -module.exports = Lexer \ No newline at end of file +module.exports = Test_lexer \ No newline at end of file