aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/rust.ungram
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen/rust.ungram')
-rw-r--r--xtask/src/codegen/rust.ungram8
1 files changed, 7 insertions, 1 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 8edabc3b9..bc1dd6761 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -239,7 +239,13 @@ Expr =
239| WhileExpr 239| WhileExpr
240 240
241Literal = 241Literal =
242 Attr* 'int_number' 242 Attr* value:(
243 'int_number' | 'float_number'
244 | 'string' | 'raw_string'
245 | 'byte_string' | 'raw_byte_string'
246 | 'true' | 'false'
247 | 'char' | 'byte'
248 )
243 249
244PathExpr = 250PathExpr =
245 Attr* Path 251 Attr* Path