Skip to content

Update docs to allow numbers in @id#285

Merged
andreasabel merged 1 commit intohaskell:masterfrom
brandonchinn178:patch-1
Feb 2, 2026
Merged

Update docs to allow numbers in @id#285
andreasabel merged 1 commit intohaskell:masterfrom
brandonchinn178:patch-1

Conversation

@brandonchinn178
Copy link
Contributor

Doc hasn't been updated with new source code?

$idchar = [$alphanum \_ \']

@andreasabel
Copy link
Member

This is the source:

alex/src/Scan.x

Lines 34 to 35 in b76f7f4

$alphanum = [$alpha $digit]
$idchar = [$alphanum \_ \']

Establishing SST (single source of truth) is hard engineering work that folks seem to shun, and then things get out of sync as a project ages...

@andreasabel andreasabel added this to the 3.5.4.1 milestone Feb 2, 2026
@andreasabel andreasabel merged commit a148cae into haskell:master Feb 2, 2026
21 checks passed
@brandonchinn178 brandonchinn178 deleted the patch-1 branch February 2, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants