Change hw6 to an unsolved version.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
0c04936ccf
commit
ee01a8f5b2
186 changed files with 9605 additions and 4019 deletions
|
|
@ -56,6 +56,8 @@
|
|||
%token ALLOCA (* alloca *)
|
||||
%token BITCAST (* bitcast *)
|
||||
%token GEP (* getelementptr *)
|
||||
%token TARGET (* target *)
|
||||
%token TRIPLE (* triple *)
|
||||
|
||||
%token <int> INT (* int64 values *)
|
||||
%token <string> LBL (* labels *)
|
||||
|
|
@ -89,6 +91,11 @@ decls_rev:
|
|||
{ { ds with tdecls = t :: ds.tdecls } }
|
||||
| ds=decls_rev e=edecl
|
||||
{ { ds with edecls = e :: ds.edecls } }
|
||||
| ds=decls_rev ttdecl
|
||||
{ ds }
|
||||
|
||||
ttdecl:
|
||||
TARGET TRIPLE EQUALS STRING {}
|
||||
|
||||
fdecl:
|
||||
| DEFINE t=ty l=GID LPAREN a=arg_list RPAREN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue