From 21c60b38e1f8bd055ffa1305002cbc095f63efa1 Mon Sep 17 00:00:00 2001 From: Cary R Date: Thu, 15 Jan 2015 17:46:54 -0800 Subject: [PATCH] Fix space issues in the code. --- parse.y | 2 +- pform.h | 2 +- vpi/sys_darray.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parse.y b/parse.y index edd0fc47b..7cc93f0a1 100644 --- a/parse.y +++ b/parse.y @@ -1563,7 +1563,7 @@ method_qualifier_opt ; modport_declaration /* IEEE1800-2012: A.2.9 */ - : K_modport + : K_modport { if (!pform_in_interface()) yyerror(@1, "error: modport declarations are only allowed " "in interfaces."); diff --git a/pform.h b/pform.h index db36e73b4..2e7f8ea5e 100644 --- a/pform.h +++ b/pform.h @@ -226,7 +226,7 @@ extern void pform_start_modport_item(const struct vlltype&loc, const char*name); extern void pform_end_modport_item(const struct vlltype&loc); extern void pform_add_modport_port(const struct vlltype&loc, NetNet::PortType port_type, - perm_string name, PExpr*expr); + perm_string name, PExpr*expr); /* * This creates an identifier aware of names that may have been diff --git a/vpi/sys_darray.c b/vpi/sys_darray.c index 268147f8a..e6d76d3bd 100644 --- a/vpi/sys_darray.c +++ b/vpi/sys_darray.c @@ -237,7 +237,7 @@ static PLI_INT32 to_vec_calltf(ICARUS_VPI_CONST PLI_BYTE8*name) vec_ptr->bval |= (bval << offset); /* Calculate the new offset into the vector. */ - offset += (bits_to_copy > BPW) ? BPW : bits_to_copy; + offset += (bits_to_copy > BPW) ? BPW : bits_to_copy; /* If the new offset is past the end of the vector part * then the next vector part also needs to be used. */