File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,9 @@ Language changes
185
185
* ` => ` now has its own precedence level, giving it strictly higher precedence than
186
186
` = ` and ` , ` ([ #25391 ] ).
187
187
188
+ * ` begin ` is disallowed inside indexing expressions, in order to enable the syntax
189
+ ` a[begin] ` (for selecting the first element) in the future ([ #23354 ] ).
190
+
188
191
* Underscores for ` _italics_ ` and ` __bold__ ` are now supported by the Base Markdown
189
192
parser. ([ #25564 ] )
190
193
Original file line number Diff line number Diff line change 1318
1318
1319
1319
; ; parse expressions or blocks introduced by syntactic reserved words
1320
1320
(define (parse-resword s word )
1321
+ (if (and (eq? word 'begin ) end-symbol)
1322
+ (parser-depwarn s " \" begin\" inside indexing expression" " " ))
1321
1323
(with-bindings
1322
1324
((expect-end-current-line (input-port-line (ts:port s))))
1323
1325
(with-normal-context
You can’t perform that action at this time.
0 commit comments