Closed mewmew closed 8 years ago
u@x1 ~/D/g/s/g/m/uc> uparse testdata/quiet/mips/m01.c Parsing "testdata/quiet/mips/m01.c" … S44 ;(3,;) reduce:57(Expr15 : int_lit << astx.NewBasicLit(X[0], token.IntLit) >>) S61 ;(3,;) reduce:54(Expr14 : Expr15 << >>) S60 ;(3,;) reduce:51(Expr13L : Expr14 << >>) S58 ;(3,;) reduce:48(Expr12L : Expr13L << >>) S57 ;(3,;) reduce:43(Expr10L : Expr12L << >>) S56 ;(3,;) reduce:40(Expr9L : Expr10L << >>) S55 ;(3,;) reduce:38(Expr5L : Expr9L << >>) S166 ;(3,;) reduce:37(Expr2R : Expr2R "=" Expr5L << astx.NewBinaryExpr(X[0], token.Assign, X[2]) >>) S53 ;(3,;) reduce:35(Expr : Expr2R << >>) S48 ;(3,;) shift:84 pos: 132 typ: 4 lit: jal S84 ident(4,jal) reduce:25(Stmt : Expr ";" << astx.NewExprStmt(X[0]) >>) S47 ident(4,jal) shift:42 pos: 135 typ: 5 lit: ( S42 ((5,() shift:64 pos: 136 typ: 6 lit: ) S64 )(6,)) reduce:63(Args : empty << nil, nil >>) S120 )(6,)) shift:195 pos: 137 typ: 3 lit: ; S195 ;(3,;) reduce:60(Expr15 : ident "(" Args ")" << astx.NewCallExpr(X[0], X[2]) >>) 2016/04/10 00:41:35 main.parseFile (uparse.go:71): error: Error in S47: ;(3,;), Pos(offset=137, line=29, column=1)github.com/mewmew/uc/ast/astx.NewCallExpr (astx.go:313): error: invalid function arguments type; expected []ast.Expr, got <nil>