projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da3741
)
NFC: Add doc for id-punct
author
Alina Sbirlea
<asbirlea@google.com>
Sat, 24 Aug 2019 04:00:40 +0000
(21:00 -0700)
committer
A. Unique TensorFlower
<gardener@tensorflow.org>
Sat, 24 Aug 2019 04:01:12 +0000
(21:01 -0700)
PiperOrigin-RevId:
265190168
mlir/lib/Parser/Lexer.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Parser/Lexer.cpp
b/mlir/lib/Parser/Lexer.cpp
index
f63b7fc
..
38038f7
100644
(file)
--- a/
mlir/lib/Parser/Lexer.cpp
+++ b/
mlir/lib/Parser/Lexer.cpp
@@
-318,6
+318,7
@@
Token Lexer::lexNumber(const char *tokStart) {
/// block-id ::= '^' suffix-id
/// type-id ::= '!' suffix-id
/// suffix-id ::= digit+ | (letter|id-punct) (letter|id-punct|digit)*
+/// id-punct ::= `$` | `.` | `_` | `-`
///
Token Lexer::lexPrefixedIdentifier(const char *tokStart) {
Token::Kind kind;