Skip to content
Snippets Groups Projects
Commit f9d45451 authored by hoelscher's avatar hoelscher
Browse files

little stylechanges in parser.y

parent 6ff6c64a
No related branches found
No related tags found
No related merge requests found
...@@ -2548,7 +2548,7 @@ sockaddr ...@@ -2548,7 +2548,7 @@ sockaddr
#endif #endif
ipv4->sin_port = htons($10); ipv4->sin_port = htons($10);
if (inet_pton(AF_INET, $17, &ipv4->sin_addr) == 1) { if (inet_pton(AF_INET, $17, &ipv4->sin_addr) == 1) {
$$ = new_expression(EXPR_SOCKET_ADDRESS_IPV4); $$ = new_expression(EXPR_SOCKET_ADDRESS_IPV4);
$$->value.socket_address_ipv4 = ipv4; $$->value.socket_address_ipv4 = ipv4;
} else { } else {
free(ipv4); free(ipv4);
...@@ -3546,7 +3546,7 @@ code_spec ...@@ -3546,7 +3546,7 @@ code_spec
$$ = calloc(1, sizeof(struct code_spec)); $$ = calloc(1, sizeof(struct code_spec));
$$->text = $1; $$->text = $1;
current_script_line = yylineno; current_script_line = yylineno;
} }
; ;
null null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment