Evan Haas
3e67ef5c9f
translate-c: Handle underscore when used as an identifier
...
Use `@` syntax to escape `_` when used as an identifier.
Remove the stage1 astgen prohibition against assigning from `_`
Note: there a few stage1 bugs preventing `_` from being used as an identifier
for a local variable or function parameter; these will be fixed by stage2.
They are unlikely to arise in real C code since identifiers starting with
underscore are reserved for the implementation.
2021-07-19 12:56:23 +03:00
..
2021-07-11 19:16:57 -05:00
2021-07-11 02:00:04 -04:00
2021-07-11 02:00:04 -04:00
2021-07-19 12:56:23 +03:00
2021-07-11 02:00:04 -04:00
2021-05-28 12:58:40 -07:00
2021-05-28 12:58:40 -07:00
2021-07-13 10:16:57 +03:00
2021-07-06 00:57:46 -05:00
2020-09-21 18:38:55 -07:00
2021-07-05 15:28:13 -05:00
2021-07-11 02:00:04 -04:00
2020-09-21 18:38:55 -07:00
2020-12-07 17:27:09 -07:00
2021-05-28 12:58:40 -07:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00
2021-07-08 14:30:45 -04:00
2021-05-28 12:58:40 -07:00
2021-05-28 12:58:40 -07:00
2020-09-21 18:38:55 -07:00
2021-07-06 00:57:46 -05:00
2020-12-07 17:27:09 -07:00
2020-12-07 17:27:09 -07:00
2021-07-11 02:00:04 -04:00
2021-07-11 02:00:04 -04:00
2021-07-15 15:12:44 -04:00
2021-07-11 02:00:04 -04:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00
2020-12-07 17:27:09 -07:00
2020-12-07 17:27:09 -07:00
2020-12-07 17:27:09 -07:00
2021-07-08 14:30:45 -04:00
2021-07-08 14:30:45 -04:00
2020-12-23 20:22:43 +02:00
2020-09-21 18:38:55 -07:00
2021-07-07 07:38:26 +03:00
2021-05-28 15:22:03 -07:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00
2021-04-21 22:07:55 +02:00
2021-04-15 18:12:11 +02:00
2021-01-25 10:40:23 -08:00
2021-06-11 13:23:00 -04:00
2021-07-16 19:35:25 -04:00
2021-05-28 12:58:40 -07:00
2021-07-16 19:35:25 -04:00
2021-05-24 00:13:54 -04:00
2021-05-31 19:51:11 +00:00
2021-05-28 12:58:40 -07:00
2020-09-21 18:38:55 -07:00
2021-07-05 15:28:13 -05:00
2021-07-05 15:28:13 -05:00
2021-07-05 14:07:36 -07:00
2020-12-23 20:22:43 +02:00