fix
This commit is contained in:
parent
8a928cfd8d
commit
f9a4c9098a
@ -8,6 +8,7 @@
|
|||||||
## Install
|
## Install
|
||||||
```bash
|
```bash
|
||||||
git clone -- http://git.macaw.me:3000/chichenkov/re2-js-generator.git
|
git clone -- http://git.macaw.me:3000/chichenkov/re2-js-generator.git
|
||||||
|
cd re2-js-generator
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
## One Minute Guide
|
## One Minute Guide
|
||||||
@ -15,7 +16,7 @@ You can fast use example:
|
|||||||
```bash
|
```bash
|
||||||
npm install
|
npm install
|
||||||
./build_example.sh
|
./build_example.sh
|
||||||
cd examples/
|
cd example/
|
||||||
node lexme.js
|
node lexme.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ var errors = {
|
|||||||
"-2": "end of search",
|
"-2": "end of search",
|
||||||
"-1": "not found any lexemes or errors or anything else",
|
"-1": "not found any lexemes or errors or anything else",
|
||||||
"0": "success",
|
"0": "success",
|
||||||
"1": "found unknown symbol"
|
"1": "found unknown symbol",
|
||||||
"2": "not found close quote or singleQuote",
|
"2": "not found close quote or singleQuote",
|
||||||
"3": "Unexpected symbol in oid structure",
|
"3": "Unexpected symbol in oid structure",
|
||||||
"4": "Not found close bracket for Oid",
|
"4": "Not found close bracket for Oid",
|
||||||
|
2
lexer.l
2
lexer.l
@ -34,7 +34,7 @@ var errors = {
|
|||||||
"-2": "end of search",
|
"-2": "end of search",
|
||||||
"-1": "not found any lexemes or errors or anything else",
|
"-1": "not found any lexemes or errors or anything else",
|
||||||
"0": "success",
|
"0": "success",
|
||||||
"1": "found unknown symbol"
|
"1": "found unknown symbol",
|
||||||
"2": "not found close quote or singleQuote",
|
"2": "not found close quote or singleQuote",
|
||||||
"3": "Unexpected symbol in oid structure",
|
"3": "Unexpected symbol in oid structure",
|
||||||
"4": "Not found close bracket for Oid",
|
"4": "Not found close bracket for Oid",
|
||||||
|
Loading…
Reference in New Issue
Block a user