From 7fcfe821e3900658a8396db15cc6995acea3db65 Mon Sep 17 00:00:00 2001 From: simonpj Date: Thu, 26 Sep 2002 09:16:33 +0000 Subject: [PATCH] [project @ 2002-09-26 09:16:33 by simonpj] Comments --- GHC/Read.lhs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GHC/Read.lhs b/GHC/Read.lhs index 60805ff..2bc3320 100644 --- a/GHC/Read.lhs +++ b/GHC/Read.lhs @@ -290,10 +290,10 @@ to parse it in a context with a higher precedence level than k. But if there is one parenthesis parsed, then the required precedence level drops to 0 again, and parsing inside p may succeed. -'appPrec' is just the precedence level of function application (maybe -it should be called 'appPrec' instead). So, if we are parsing -function application, we'd better require the precedence level to be -at least 'appPrec'. Otherwise, we have to put parentheses around it. +'appPrec' is just the precedence level of function application. So, +if we are parsing function application, we'd better require the +precedence level to be at least 'appPrec'. Otherwise, we have to put +parentheses around it. 'step' is used to increase the precedence levels inside a parser, and can be used to express left- or right- associativity. For -- 1.7.10.4