forked from jasder/antlr
Update README.md
This commit is contained in:
parent
a3282f5fad
commit
3edb44d594
|
@ -96,7 +96,7 @@ In a temporary directory, put the following grammar inside file `Hello.g4`:
|
|||
grammar Hello;
|
||||
r : 'hello' ID ;
|
||||
ID : [a-z]+ ;
|
||||
WS : [ \t\n]+ -> skip ; // skip spaces, tabs, newlines
|
||||
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, newlines
|
||||
```
|
||||
Then run ANTLR the tool on it:
|
||||
```sh
|
||||
|
|
Loading…
Reference in New Issue