Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » IMP LPG editor syntax errors on %options declarations
IMP LPG editor syntax errors on %options declarations [message #576496] Thu, 10 September 2009 18:55
Brian Payton is currently offline Brian PaytonFriend
Messages: 154
Registered: July 2009
Senior Member

I'm starting to use the IMP LPG source editor, and I noticed the editor
shows syntax errors on certain input that LPG accepts, particularly in
the %options declarations. Here's the lines showing errors, plus the
error messages.

%options action=("", "/.", "./")
Multiple messages: misplaced construct(s): "ERROR_TOKEN" {0} is
invalid: "%options action" {0}
expected after this token: "DISJOINTPREDECESSORSETS_KEY"

%options ParseTable=%options ParseTable=lpg.lpgjavaruntime.ParseTable
(Note: this options line doesn't make much sense to me, so it might be
an error in the source file. However LPG doesn't complain about it.)
Multiple messages: {0} unexpected token(s) ignored: "ERROR_TOKEN" {0}
is invalid: "%options ParseTable=%options "

%options var=nt,automatic_ast,visitor,parent_save
{0} is invalid: "%options var"

%options or_marker='|'
{0} is invalid: "%options or_marker='"

I also noticed that the editor doesn't hilight as keywords the "no"
prefix on keywords such as "noserialize", "nogoto_default", and

Brian Payton
SQL Tools Development
Previous Topic:Problem installing IMP on Eclipse 3.5
Next Topic:Missing lpg Fragment
Goto Forum:

Current Time: Sun Oct 21 22:05:54 GMT 2018

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

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

Back to the top