Fix begin_keywords 1800-2005 error introduced in last commit.

git-svn-id: file://localhost/svn/verilator/trunk/verilator@977 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder 2008-01-15 14:58:52 +00:00
parent a2ffe86a36
commit 87533b13e1
2 changed files with 5 additions and 5 deletions

View File

@ -1012,20 +1012,20 @@ includes signed numbers, "always @*", comma separated sensitivity lists,
generate statements, multidimensional arrays, localparam, and C-style
declarations inside port lists.
=head1 VERILOG 2005 (IEEE 1364-2008) SUPPORT
=head1 VERILOG 2005 (IEEE 1364-2005) SUPPORT
Verilator supports the `begin_keywords and `end_keywords compiler
directives.
Verilator partially supports the uwire keyword.
=head1 SYSTEMVERILOG (IEEE 1800-2008) SUPPORT
=head1 SYSTEMVERILOG (IEEE 1800-2005) SUPPORT
Verilator currently has very minimal support for SystemVerilog. As
SystemVerilog features enter common usage they will be added. Contact the
author if a feature you need is missing.
Verilator implements the full SystemVerilog 1800-2008 preprocessor,
Verilator implements the full SystemVerilog 1800-2005 preprocessor,
including function call-like preprocessor defines.
Verilator supports ==? and !=? operators, $bits, $countones, $error,

View File

@ -727,8 +727,8 @@ escid \\[^ \t\f\r\n]+
"`begin_keywords"[ \t]*\"1364-1995\" { yy_push_state(V95); V3Read::pushBeginKeywords(YY_START);}
"`begin_keywords"[ \t]*\"1364-2001\" { yy_push_state(V01); V3Read::pushBeginKeywords(YY_START);}
"`begin_keywords"[ \t]*\"1364-2001-noconfig\" { yy_push_state(V01); V3Read::pushBeginKeywords(YY_START);}
"`begin_keywords"[ \t]*\"1364-2008\" { yy_push_state(V05); V3Read::pushBeginKeywords(YY_START);}
"`begin_keywords"[ \t]*\"1800-2008\" { yy_push_state(S05); V3Read::pushBeginKeywords(YY_START);}
"`begin_keywords"[ \t]*\"1364-2005\" { yy_push_state(V05); V3Read::pushBeginKeywords(YY_START);}
"`begin_keywords"[ \t]*\"1800-2005\" { yy_push_state(S05); V3Read::pushBeginKeywords(YY_START);}
"`end_keywords" { yy_pop_state(); if (!V3Read::popBeginKeywords()) yyerrorf("`end_keywords when not inside `begin_keywords block"); }
}