remove test file and fix lexer
This commit is contained in:
parent
76ddc4083a
commit
b7a5194e0a
9
lexer.l
9
lexer.l
@ -60,8 +60,9 @@ var unknownSymbol = function(_str, _yylexstart, _yycursor){
|
|||||||
throw print_f("Found unknown symbol on position: %s", _yycursor)
|
throw print_f("Found unknown symbol on position: %s", _yycursor)
|
||||||
};
|
};
|
||||||
|
|
||||||
var notFoundCloseQuote = function (_str, _yylexstart, _yycursor) {
|
var notFoundCloseQuote = function(_str, _yylexstart, _yycursor) {
|
||||||
throw print_f("Not found close quote start: %s", _yycursor)
|
console.log( print_f("Not found close quote start: %s", _yycursor));
|
||||||
|
throw print_f("Not found close quote start: %s", _yycursor);
|
||||||
};
|
};
|
||||||
|
|
||||||
var start_search = function(_str) {
|
var start_search = function(_str) {
|
||||||
@ -252,5 +253,5 @@ console.log("TEST STRING LITERAL");
|
|||||||
start_search(' "111\\\"11\\\"1" "222222" ');
|
start_search(' "111\\\"11\\\"1" "222222" ');
|
||||||
start_search(" '111\\\'11\\\'1' '222222' ");
|
start_search(" '111\\\'11\\\'1' '222222' ");
|
||||||
|
|
||||||
//console.log("TEST FAILS");
|
console.log("TEST FAILS");
|
||||||
//start_search(' sdfasdfasdfsdf "fasdf');
|
start_search(' sdfasdfasdfsdf "fasdf');
|
Loading…
Reference in New Issue
Block a user