diff options
author | JSDurand <mmemmew@gmail.com> | 2022-01-04 20:24:07 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-01-04 20:24:07 +0800 |
commit | 949888ad5d0cd0f9f9a87f9938a632b3e32df051 (patch) | |
tree | ae9155484a3a5b4124c6d3fae14ada9d718c8579 /src/test.txt | |
parent | 55dc897da6e81f2a26cfc7e66ac942824773498b (diff) |
Fix problems
Now some problems are fixed.
It can now read grammar correctly (hopefully) from a file, in the BNF
format. And strings (terminals) are handled fine as well. So glad
that there are no leak problems now.
Diffstat (limited to 'src/test.txt')
-rw-r--r-- | src/test.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test.txt b/src/test.txt index 71e125b..be9b3ba 100644 --- a/src/test.txt +++ b/src/test.txt @@ -1,7 +1,9 @@ -S: A A C +S: A A LONG C 奎佑 A: B B B B: A A: +LONG: B A C: B C A B: B B +奎佑: "handsome" A: A B A |