From: simonpj Date: Thu, 26 Sep 2002 09:16:33 +0000 (+0000) Subject: [project @ 2002-09-26 09:16:33 by simonpj] X-Git-Tag: nhc98-1-18-release~837 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7fcfe821e3900658a8396db15cc6995acea3db65;p=ghc-base.git [project @ 2002-09-26 09:16:33 by simonpj] Comments --- 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