Skip to content

Commit

Permalink
Update case-insensitive-lexing.md
Browse files Browse the repository at this point in the history
Fix quotation mark error
  • Loading branch information
tianshuang authored Nov 15, 2021
1 parent ec144ca commit 53acf56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/case-insensitive-lexing.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ K_UPDATE : 'UPDATE';
Then, when creating the character stream to parse from, we need a custom class that overrides methods used by the lexer. Below you will find custom character streams for a number of the targets that you can copy into your projects, but here is how to use the streams in Java as an example:

```java
CharStream s = CharStreams.fromPath(Paths.get('test.sql'));
CharStream s = CharStreams.fromPath(Paths.get("test.sql"));
CaseChangingCharStream upper = new CaseChangingCharStream(s, true);
Lexer lexer = new SomeSQLLexer(upper);
```
Expand Down

0 comments on commit 53acf56

Please sign in to comment.