--- address.y 2001/01/19 14:56:35 1.4
+++ address.y 2005/10/06 09:16:24 1.5
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/librfc822/address.y,v $
- $Revision: 1.4 $
+ $Revision: 1.5 $
Copyright (C) 2000 by CyberSolutions GmbH, Germany.
@@ -114,6 +114,7 @@
str_join($$,$1,$2); str_join($$,$$,$3);
str_join($$,$$,$4);
}
+;
local: atom { $$ = $1; }
| atom local { str_join($$,$1,$2); }
@@ -125,10 +126,10 @@
| atom dot domain { str_join($$,$2,$3); str_join($$,$1,$$); }
;
-atom: TOK_ATOM { str_dup($$,yytext); }
-dot: '.' { $$ = (YYSTYPE) "."; }
-at: '@' { $$ = (YYSTYPE) "@"; }
-colon: ':' { $$ = (YYSTYPE) ":"; }
+atom: TOK_ATOM { str_dup($$,yytext); };
+dot: '.' { $$ = (YYSTYPE) "."; };
+at: '@' { $$ = (YYSTYPE) "@"; };
+colon: ':' { $$ = (YYSTYPE) ":"; };
%%
/***** internal routines *****/
|