always success? - but dont!

Jens Kallup <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Hello,

I have following Code below:
The result is always Success.
I can do:

xxxx . xxx = new    // Success - but it shall not!
yss. ss = new xxx   // Success - ...

yy . sss = new ddd (ff fff)  // Success - but shall not!

left.right = new Form(test.blah)  // only this should be done.
What is wrong

             symbol_def_expr %=
                 (
                 (   symbol_alpha >> *('.' > symbol_alpha)  > '='  >
                 ( ( symbol_new   >
                 (   symbol_alpha >> *('.' > symbol_alpha)  > ('(' >>
                 (   symbol_alpha >> *('.' > symbol_alpha)) >  ')' )))
                 | ( symbol_expr  ))
                 ) )
             ;

TIA
Jens


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.