Opened 16 years ago

Closed 16 years ago

#234 closed defect (fixed)

Parser Test fail on MPI_Init

Reported by: Stephen Siegel Owned by: zirkel
Priority: major Milestone: Release 1.0
Component: front Version: 1.0
Keywords: library MPI MPI_Init start Cc:

Description

Syntax error at libmpi.c 102.0--102.37: "int MPI_Init(int *argc, char ***argv)": start location has not been set

edu.udel.cis.vsl.tass.util.SyntaxException: Syntax error at libmpi.c 102.0--102.37: "int MPI_Init(int *argc, char ***argv)": start location has not been set
at edu.udel.cis.vsl.tass.model.impl.Function.complete(Function.java:342)
at edu.udel.cis.vsl.tass.model.impl.Process.complete(Process.java:123)
at edu.udel.cis.vsl.tass.model.impl.Model.complete(Model.java:171)
at edu.udel.cis.vsl.tass.front.minimp.ModelBuilder.processAST(ModelBuilder.java:331)
at edu.udel.cis.vsl.tass.front.minimp.ModelBuilder.buildModel(ModelBuilder.java:321)
at edu.udel.cis.vsl.tass.front.parser.ParserTest.launchTest(ParserTest.java:164)
at edu.udel.cis.vsl.tass.front.parser.ParserTest.testAllExamples(ParserTest.java:123)

Change History (2)

comment:1 by zirkel, 16 years ago

Owner: changed from ywei to zirkel
Status: newaccepted

comment:2 by zirkel, 16 years ago

Resolution: fixed
Status: acceptedclosed

The problem was that the parser did not correctly handle functions with empty bodies. This has been corrected.

Note: See TracTickets for help on using tickets.