From: Eric B. <er...@us...> - 2008-10-26 23:43:37
|
Colin Paul Adams wrote: > Gec is giving some poor error messages. > > Im am still seing some plain "Syntax error" messages - these could be > greatly improved. Hopefully you see the contextual indication of where the syntax error is, don't you? It has been two years now since I had plan to write a better parser. But it's a big task and I never found time yet to start such development. I hope I can do that soon. > Then I get this: > > > [VMRC-2] class XM_XSLT_STYLE_ELEMENT (50,2): replicated features > XM_XSLT_STYLE_ELEMENT have not been selected. > > I have no clue as to which the replicated features might be. My only > remedy is to try compiling with ISE instead. In fact the information was in the compiler. There was just a typo in the code that displays the error message. Instead of displaying the feature names, it was displaying the name of the current class. This has now been fixed in the version of the compiler in Subversion, and now you should get: [VMRC-2] class XM_XSLT_STYLE_ELEMENT (50,2): replicated features XM_XPATH_DEBUGGING_ROUTINES.string_equality_tester, XM_XPATH_TREE_ELEMENT.uc_string_equality_tester have not been selected. ---- [VMRC-2] class XM_XSLT_INSTRUCTION (37,2): replicated features XM_XPATH_DEBUGGING_ROUTINES.string_equality_tester, XM_XPATH_COMPUTED_EXPRESSION.uc_string_equality_tester have not been selected. You should probably rename them so that they share the same name and hence avoid the need for a 'select' clause. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |