Skip to content

Commit 4cb4bc2

Browse files
committed
Trivially tweak atom parsers
1 parent a777875 commit 4cb4bc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/language/parsing/atom.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
zeroOrMore,
1212
} from '@matt.kantor/parsing'
1313
import {
14+
arrow,
1415
atSign,
1516
backslash,
1617
closingBlockCommentDelimiter,
@@ -32,6 +33,7 @@ import { whitespace } from './trivia.js'
3233
export type Atom = string
3334

3435
const atomComponentsRequiringQuotation = [
36+
arrow,
3537
atSign,
3638
backslash,
3739
closingBlockCommentDelimiter,
@@ -46,10 +48,8 @@ const atomComponentsRequiringQuotation = [
4648
singleLineCommentDelimiter,
4749
whitespace,
4850

49-
// Reserved to allow symbols like `=>` to not be conflated with atoms:
50-
literal('='),
51-
5251
// Reserved for future use:
52+
literal('='),
5353
literal('['),
5454
literal(']'),
5555
literal('#'),

0 commit comments

Comments
 (0)