Fixed problem in resource compiler when a separator ended a popup in a MENU resource (by mistake, presumably).
I see more use-cases where a trailing separator would be included in the static menu section.
For instance the separator will precede a recent files list or a translations list, which are better created dynamically, since they will change frequently.
A separator being the last item in a static menu does have its purpose, if the rest is created dynamically
Thanks for the new version and the fixes