thomasrussellmurphy / istyle-verilog-formatter

Open source implementation of a Verilog formatter
GNU General Public License v2.0
174 stars 45 forks source link

Formatter does not handle exponentiation (**) operator #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run 'iStyle --indent=tab --style=kr --suffix=".old~" --pad=all file.v`
2. Have 'file.v' include the exponentiation operator (parameter test = 2 ** 5 - 
1)
3. Observe that '**' becomes '* *', breaking the code

What is the expected output? What do you see instead?
No change to '**' is expected. However, it is changed to '* *'.

What version of the product are you using? On what operating system?
iStyle 1.20 on MacOS 10.9.2

Please provide any additional information below.

Original issue reported on code.google.com by thomasmu...@gmail.com on 11 Apr 2014 at 1:52