mlugg
0cc8435a83
std.zig: resolve syntactic ambiguity
...
The parse of `fn foo(a: switch (...) { ... })` was previously handled
incorrectly; `a` was treated as both the parameter name and a label.
The same issue exists for `for` and `while` expressions -- they should
be fixed too, and the grammar amended appropriately. This commit does
not do this: it only aims to avoid introducing regressions from labeled
switch syntax.
2024-09-01 18:30:31 +01:00
..
2024-08-31 20:57:27 -07:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-29 20:39:11 +01:00
2024-08-29 23:43:52 +01:00
2024-08-17 05:57:45 -04:00
2024-08-28 08:39:59 +01:00
2024-08-23 22:43:03 -07:00
2024-08-28 08:39:59 +01:00
2024-08-29 20:39:11 +01:00
2024-08-07 00:48:32 -07:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-30 14:48:17 -07:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-07-23 11:43:12 -07:00
2024-08-27 00:44:35 +01:00
2024-08-15 22:05:53 -07:00
2024-08-28 08:39:59 +01:00
2024-08-27 00:44:35 +01:00
2024-08-15 17:54:27 -07:00
2024-08-23 22:59:30 -07:00
2024-09-01 18:30:31 +01:00
2024-08-28 08:39:59 +01:00
2024-08-16 15:22:55 -04:00
2024-08-01 01:32:32 -07:00
2024-08-28 08:39:59 +01:00
2024-08-23 22:30:10 -07:00
2024-08-28 08:39:59 +01:00
2024-08-31 20:57:27 -07:00
2024-09-01 00:44:09 -07:00
2024-08-23 19:56:24 +02:00
2024-08-22 07:54:12 +02:00
2024-09-01 00:45:31 -07:00
2024-08-22 08:44:08 +02:00
2024-08-24 05:32:53 -07:00
2024-08-23 19:56:24 +02:00
2024-08-29 20:39:11 +01:00
2024-08-28 08:39:59 +01:00
2024-07-28 20:08:52 -07:00
2024-08-28 08:39:59 +01:00
2024-07-19 00:30:32 -07:00
2024-08-07 00:48:32 -07:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-07-31 16:57:42 -07:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-29 20:39:11 +01:00
2024-08-28 08:39:59 +01:00
2024-07-19 00:30:32 -07:00
2024-08-27 00:44:35 +01:00
2024-07-19 00:30:32 -07:00
2024-07-28 21:34:14 -07:00
2024-08-29 23:43:52 +01:00
2024-08-31 20:59:47 -07:00
2024-07-23 11:43:12 -07:00
2024-07-20 01:06:28 -07:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-04 22:02:15 +00:00
2024-08-28 08:39:59 +01:00
2024-08-15 22:05:53 -07:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2024-07-19 00:30:32 -07:00
2024-07-28 19:47:55 -07:00
2024-08-21 01:30:46 +01:00
2024-08-23 22:59:30 -07:00
2024-08-28 08:39:59 +01:00