diff options
-rw-r--r-- | src/vhd2vl.y | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/vhd2vl.y b/src/vhd2vl.y index c553e85..f0efb24 100644 --- a/src/vhd2vl.y +++ b/src/vhd2vl.y @@ -2436,7 +2436,7 @@ simple_expr : signal { | '(' simple_expr ')' { expdata *e; e=xmalloc(sizeof(expdata)); - //e->sl=addwrap("(",$2->sl,")"); + /* e->sl=addwrap("(",$2->sl,")"); */ e->sl=addsl(NULL,$2->sl); $$=e; } @@ -2462,6 +2462,14 @@ int status; int opt; static int quiet; + static struct option options[] = { + {"debug", no_argument, &yydebug, 1 }, + {"quiet", no_argument, &quiet, 1 }, + {"std", required_argument, 0, 's' }, + {"help", no_argument, 0, 'h' }, + {0, 0, 0, 0 } + }; + /* Init the indentation variables */ indents[0]=NULL; for(i=1;i<MAXINDENT;i++){ @@ -2474,14 +2482,6 @@ static int quiet; sl->slst=NULL; } - static struct option options[] = { - {"debug", no_argument, &yydebug, 1 }, - {"quiet", no_argument, &quiet, 1 }, - {"std", required_argument, 0, 's' }, - {"help", no_argument, 0, 'h' }, - {0, 0, 0, 0 } - }; - while ((opt = getopt_long(argc, argv,"s:h", options, 0 )) != -1) { switch (opt) { case 0: |