On 2 Aug 2010, at 15:52, u...@jona-mission.de wrote:
Das läuft auch ganz prima durch, aber beim Ende (eof) gibt es einen seg-fault.
...
%% ...
ipadr: VALID_IP { sprintf($$,"valid-ip=%s",$1); };
You haven't allocated $$ here. In the other cases, you just hand over an allocated pointer, so that works.
Hans _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison