aboutsummaryrefslogtreecommitdiff
path: root/src/yellow
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-31 21:59:54 +0100
committerAleksey Kladov <[email protected]>2018-07-31 21:59:54 +0100
commita31cb829ed763f9dd1fcf422469eedd3402e5fbc (patch)
treebcd4ef6a3b2cf3421bb5d3b49501c4f1e597d4fe /src/yellow
parentc8e59012757665649125a218416283d416e36547 (diff)
Print numbers
Diffstat (limited to 'src/yellow')
-rw-r--r--src/yellow/syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yellow/syntax.rs b/src/yellow/syntax.rs
index 487a4ef1d..5b88a3b07 100644
--- a/src/yellow/syntax.rs
+++ b/src/yellow/syntax.rs
@@ -132,7 +132,7 @@ impl<R: TreeRoot> fmt::Debug for SyntaxNode<R> {
132 132
133fn has_short_text(kind: SyntaxKind) -> bool { 133fn has_short_text(kind: SyntaxKind) -> bool {
134 match kind { 134 match kind {
135 IDENT | LIFETIME => true, 135 IDENT | LIFETIME | INT_NUMBER | FLOAT_NUMBER => true,
136 _ => false, 136 _ => false,
137 } 137 }
138} 138}