Skip to content

Commit 716386d

Browse files
authored
Document use of the colon operator (#68)
1 parent bd22183 commit 716386d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/lexical-analysis.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ The following symbolic or partially symbolic character sequences are treated as
310310
```fsgrammar
311311
token symbolic-keyword =
312312
let! use! do! yield! return! match!
313-
| -> <-. : ( ) [ ] [< >] [| |] { }
313+
| -> <- . : ( ) [ ] [< >] [| |] { }
314314
' # :?> :? :> .. :: := ;; ; =
315315
_? ?? (*) <@ @> <@@ @@>
316316
```
@@ -329,7 +329,7 @@ except where the sequence of characters is a symbolic keyword ([§](lexical-anal
329329

330330
```fsgrammar
331331
regexp first-op-char = !%&*+-./<=>@^|~
332-
regexp op-char = first-op-char |?
332+
regexp op-char = first-op-char | [?:]
333333
334334
token quote-op-left =
335335
| <@ <@@
@@ -338,7 +338,7 @@ token quote-op-right =
338338
| @> @@>
339339
340340
token symbolic-op =
341-
|?
341+
| ?
342342
| ?<-
343343
| first-op-char op-char *
344344
| quote-op-left

0 commit comments

Comments
 (0)