Waldek Hebisch wrote:
Keywords are defined in predef.def.
Thank you very much!
Grepping you will find a commented out section containing definitions of "try", "except", "finally" and "property". Note however that those are Delphi keywords (property is also in Object Pascal) -- giving them different meaning is not a good idea.
I pretty much intend to implement the Delphi syntax here. (try-statements and properties for our current, BP-style objects) I also have a few extensions in mind, but they wouldn't prevent anyone from using the usual Delphi syntax.
Details depend on what you want to do. I normally just use 'make' to rebuild gpc -- 'make' will run Bison etc. if needed. If you need to do a lot of work on grammar running 'bison -v' may be helpful ('-v' flag creates detailed report of the grammar).
Thanks again!