Parser does not parse
Jens Kallup <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Look here:
https://paste.fedoraproject.org/488878/47991796/
Lines 441 - 471
when I remove (symbol_alpha > '=' > int_ |
all will working - or so how I expect it.
But with these lines on, I get error handler message.
Many Thanks for helping hands:
Jens
Here a snippet of the code:
symbol_def_class %= symbol_def_class_inner;
symbol_def_class_inner %=
symbol_class
> symbol_alpha
> symbol_of
> symbol_alpha
>> *(
(symbol_alpha > '=' > int_ ) |
(symbol_def_class) |
(symbol_def_if)
)
> symbol_endclass
;
symbol_def_if %= symbol_def_if_inner;
symbol_def_if_inner %=
symbol_if > '(' > int_ > ')'
>> *(
(symbol_alpha > '=' > int_ ) |
(symbol_def_if) |
(symbol_def_class)
)
>> *( (symbol_else
>> *(
(symbol_alpha > '=' > int_ ) |
(symbol_def_if) |
(symbol_def_class)
)
) )
> symbol_endif
;
------------------------------------------------------------------------------