Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Revision 663
ViewVC logotype

Revision 663


Jump to revision: Previous Next
Author: nch
Date: Fri Jun 16 02:58:05 2000 UTC (19 years, 5 months ago)
Log Message:
Fixed comma-question bug (from Olivier Tardieu).

question colon case was:
   expr QUESTION expr COLON expr

and should be:
   expr QUESTION exprWComma COLON expr

Full code of fix:

 expr QUESTION exprWComma COLON expr %prec QUESTION (markExpression srcMap
(QuestionColon(expr1,exprWComma1,expr2),expr1left,expr2right))

Changed paths:

Path Details
Directorysml/trunk/ckit/src/parser/grammar/c.grm modified , text changed

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0