Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/rust.ungram')
-rw-r--r--crates/syntax/rust.ungram9
1 files changed, 1 insertions, 8 deletions
diff --git a/crates/syntax/rust.ungram b/crates/syntax/rust.ungram
index 85270dee62..62aa478399 100644
--- a/crates/syntax/rust.ungram
+++ b/crates/syntax/rust.ungram
@@ -365,20 +365,13 @@ MacroExpr =
Literal =
Attr* value:(
- 'int_number' | FloatLiteral
+ 'int_number' | 'float_number'
| 'string' | 'raw_string'
| 'byte_string' | 'raw_byte_string'
| 'true' | 'false'
| 'char' | 'byte'
)
-FloatLiteral =
- 'float_number_start_0'?
- 'float_number_start_1'?
- 'float_number_start_2'?
- '.'?
- 'float_number_part'?
-
PathExpr =
Attr* Path