コード解析スクリプト

HDLコードを再帰的に辿ってModule構造をツリー状に表示するスクリプトを作った。いくつかのコードはうまく動いたが、いくつかのコードでModule名を誤検出してしまう。正規表現をもう少し考えてみよう。

I made the converter from HDL code to the module hierarchy in the HDL code. Some of the codes were converted well but on some code it got wrong result. I need the check the regular expression in the script.