Skip to content
Snippets Groups Projects
Commit 76678b7c authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Whitespace cleanup.

parent 8798c6bd
No related branches found
No related tags found
No related merge requests found
...@@ -843,13 +843,13 @@ opt_chunk_type ...@@ -843,13 +843,13 @@ opt_chunk_type
| TYPE '=' HEX_INTEGER { | TYPE '=' HEX_INTEGER {
if (!is_valid_u8($3)) { if (!is_valid_u8($3)) {
semantic_error("type value out of range"); semantic_error("type value out of range");
} }
$$ = $3; $$ = $3;
} }
| TYPE '=' INTEGER { | TYPE '=' INTEGER {
if (!is_valid_u8($3)) { if (!is_valid_u8($3)) {
semantic_error("type value out of range"); semantic_error("type value out of range");
} }
$$ = $3; $$ = $3;
} }
; ;
...@@ -859,13 +859,13 @@ opt_flags ...@@ -859,13 +859,13 @@ opt_flags
| FLAGS '=' HEX_INTEGER { | FLAGS '=' HEX_INTEGER {
if (!is_valid_u8($3)) { if (!is_valid_u8($3)) {
semantic_error("flags value out of range"); semantic_error("flags value out of range");
} }
$$ = $3; $$ = $3;
} }
| FLAGS '=' INTEGER { | FLAGS '=' INTEGER {
if (!is_valid_u8($3)) { if (!is_valid_u8($3)) {
semantic_error("flags value out of range"); semantic_error("flags value out of range");
} }
$$ = $3; $$ = $3;
} }
; ;
...@@ -926,7 +926,7 @@ opt_data_flags ...@@ -926,7 +926,7 @@ opt_data_flags
| FLAGS '=' INTEGER { | FLAGS '=' INTEGER {
if (!is_valid_u8($3)) { if (!is_valid_u8($3)) {
semantic_error("flags value out of range"); semantic_error("flags value out of range");
} }
$$ = $3; $$ = $3;
} }
| FLAGS '=' WORD { | FLAGS '=' WORD {
...@@ -984,7 +984,7 @@ opt_abort_flags ...@@ -984,7 +984,7 @@ opt_abort_flags
| FLAGS '=' INTEGER { | FLAGS '=' INTEGER {
if (!is_valid_u8($3)) { if (!is_valid_u8($3)) {
semantic_error("flags value out of range"); semantic_error("flags value out of range");
} }
$$ = $3; $$ = $3;
} }
| FLAGS '=' WORD { | FLAGS '=' WORD {
...@@ -1058,7 +1058,7 @@ opt_i_data_flags ...@@ -1058,7 +1058,7 @@ opt_i_data_flags
| FLAGS '=' INTEGER { | FLAGS '=' INTEGER {
if (!is_valid_u8($3)) { if (!is_valid_u8($3)) {
semantic_error("flags value out of range"); semantic_error("flags value out of range");
} }
$$ = $3; $$ = $3;
} }
| FLAGS '=' WORD { | FLAGS '=' WORD {
...@@ -1340,7 +1340,7 @@ sctp_cookie_echo_chunk_spec ...@@ -1340,7 +1340,7 @@ sctp_cookie_echo_chunk_spec
(!is_valid_u16($5) || ($5 < sizeof(struct sctp_cookie_echo_chunk)))) { (!is_valid_u16($5) || ($5 < sizeof(struct sctp_cookie_echo_chunk)))) {
semantic_error("length value out of range"); semantic_error("length value out of range");
} }
if (($5 != -1) && ($7 != NULL) && if (($5 != -1) && ($7 != NULL) &&
($5 != sizeof(struct sctp_cookie_echo_chunk) + $7->nr_entries)) { ($5 != sizeof(struct sctp_cookie_echo_chunk) + $7->nr_entries)) {
semantic_error("length value incompatible with val"); semantic_error("length value incompatible with val");
} }
......
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