about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbstrie <ben.striegel@gmail.com>2018-05-16 00:56:56 +0000
committerbstrie <ben.striegel@gmail.com>2018-05-16 00:56:56 +0000
commitce0b7cc529b2bba4207bcc2d93af4c7bb3640e64 (patch)
tree6ef03de62a0af9eb136c7467d70b32ddb8b69f96 /src/rustllvm/RustWrapper.cpp
parentf0fdaba04ea7474cd1f66264ef4edb3485a95864 (diff)
downloadrust-ce0b7cc529b2bba4207bcc2d93af4c7bb3640e64.tar.gz
rust-ce0b7cc529b2bba4207bcc2d93af4c7bb3640e64.zip
Fix grammar documentation wrt Unicode identifiers
The grammar defines identifiers in terms of XID_start and XID_continue,
but this is referring to the unstable non_ascii_idents feature.
The documentation implies that non_ascii_idents is forthcoming, but this
is left over from pre-1.0 documentation; in reality, non_ascii_idents
has been without even an RFC for several years now, and will not be
stabilized anytime soon. Furthermore, according to the tracking issue at
https://github.com/rust-lang/rust/issues/28979 , it's highly
questionable whether or not this feature will use XID_start or
XID_continue even when or if non_ascii_idents is stabilized.
This commit fixes this by respecifying identifiers as the usual
[a-zA-Z_][a-zA-Z0-9_]*
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions