Fix path for the examples in Toy tutorial Ch1

PiperOrigin-RevId: 241643625
This commit is contained in:
Mehdi Amini 2019-04-02 18:14:56 -07:00 committed by Mehdi Amini
parent 607b8851a8
commit c2e9ab8ef1
1 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,8 @@ Module:
} // Block
```
You can reproduce this result and play with the example in the `examples/Ch1/`
directory, try running `path/to/BUILD/bin/toyc test/ast.toy -emit=ast`.
You can reproduce this result and play with the example in the `examples/toy/Ch1/`
directory, try running `path/to/BUILD/bin/toyc-ch1 test/ast.toy -emit=ast`.
The code for the lexer is fairly straighforward, it is all in a single header:
`examples/toy/Ch1/include/toy/Lexer.h`. The parser can be found in