Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Suppress linker errors in certain contexts
Suppress linker errors in certain contexts [message #1704884] Mon, 10 August 2015 08:13
Eclipse UserFriend
How could I intercept error reporting for linker errors? In some cases the information contained in the source files of my DSL is not sufficient to determine if a link failure is an error. Let me give an example for clarity.

Files may include other files in the same way as #include works is C (i.e. the contents of the included file replace the #include directive). The included file may refer to variables declared in the file or variables declared in the file including it. In the second case the linker fails to resolve the variables. There is no easy solution to that since a file may be included by multiple ones. What I would like to do instead is to suppress error reporting in that case. Is better to not report a possible error then to produce reports for false errors.

Could you advice me how to suppress error reporting in specific contexts?
Previous Topic:Do we have a way to get the differences between xtext model before and after partial parse?
Next Topic:Create a hyperlink for a string
Goto Forum:
  


Current Time: Sun Jul 06 08:06:01 EDT 2025

Powered by FUDForum. Page generated in 0.02938 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top