fpcres DIALOG support

Summary

Attached RC doesn't compile with fpcres (release, trunk), but does with windres or brcc32.

The problem line is the DIALOG one. I'm not 100% sure this is a bug in the DIALOG parsing (modifiers like MOVEABLE PURE LOADONCALL DISCARDABLE before coordinates instead of after?) or totally missing DIALOG support, since I can't find productions for the _DIALOG(EX) except for the basic keyword that is in the lexer.

System Information

win32, but I assume any.

Steps to reproduce

fpcres -of res defbox.rc -o defbox.res

Example Project

attached rc + ico

What is the current bug behavior?

#MAIN.RC(2:50): at "0": syntax error
200 DIALOG MOVEABLE PURE LOADONCALL DISCARDABLE 0,0,403,237
                                                 ^
Error: EResourceReaderUnexpectedEndOfStreamException
Edited by Sven/Sarah Barth