Re: [PATCH] Initialize basic types once and print errors for duplicate definitions

2022-11-14 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le lun. 14 nov. 2022 00:40:07 -0500, a ecrit: > For kernel server or user subsystems we would initialize basic types > twice, once in main() and again for the subsystem declaration. Instead, > initialize basic types when the subsystem is declared and then throw > erro

[PATCH] Initialize basic types once and print errors for duplicate definitions

2022-11-14 Thread Flavio Cruz
For kernel server or user subsystems we would initialize basic types twice, once in main() and again for the subsystem declaration. Instead, initialize basic types when the subsystem is declared and then throw errors when types are defined multiple times. --- migcom.c | 1 - parser.y | 5 ++---