[Swift-devel] [Bug 39] a poor syntax error

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Tue Nov 20 13:30:17 CST 2007


http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=39





------- Comment #1 from benc at hawaga.org.uk  2007-11-20 13:30 -------
the parser is interpreting the > as the greater-than operator in an expression:

"econ_prob_list.txt" > results  

which is syntactically valid, rather than as the termination of the mapper
declaration. This makes it get a few tokens further along in parsing than
desired in this error reporting case.

Use of > for both termination of mapper declaration and as a valid
in-declaration token is the root cause here, I think.


-- 
Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
You are the assignee for the bug, or are watching the assignee.



More information about the Swift-devel mailing list