[project @ 2003-07-24 07:49:33 by simonpj] A gross hack to stop the pretty-printer going into an infinite loop. What happens is that 'indent' is given a negative number, and that made it loop.  This patch checks for the negative case, so at least it doesn't loop -- but I don't understand why the indent ever goes negative, so there's still something wrong here.
[project @ 2003-07-24 07:49:33 by simonpj]
A gross hack to stop the pretty-printer going into an infinite loop.
What happens is that 'indent' is given a negative number, and that
made it loop.  This patch checks for the negative case, so at least
it doesn't loop -- but I don't understand why the indent ever goes negative,
so there's still something wrong here.

fmthoma/ghc,shlevy/ghc,ezyang/ghc,AlexanderPankiv/ghc,urbanslug/ghc,wxwxwwxxx/ghc,frantisekfarka/ghc-dsi,da-x/ghc,green-haskell/ghc,sdiehl/ghc,oldmanmike/ghc,olsner/ghc,ghc-android/ghc,vikraman/ghc,mcschroeder/ghc,spacekitteh/smcghc,jstolarek/ghc,nkaretnikov/ghc,ghc-android/ghc,ezyang/ghc,sdiehl/ghc,holzensp/ghc,acowley/ghc,holzensp/ghc,GaloisInc/halvm-ghc,mcschroeder/ghc,wxwxwwxxx/ghc,urbanslug/ghc,ryantm/ghc,wxwxwwxxx/ghc,nushio3/ghc,sdiehl/ghc,mettekou/ghc,shlevy/ghc,sgillespie/ghc,spacekitteh/smcghc,mettekou/ghc,green-haskell/ghc,oldmanmike/ghc,sgillespie/ghc,AlexanderPankiv/ghc,snoyberg/ghc,vTurbine/ghc,snoyberg/ghc,TomMD/ghc,holzensp/ghc,fmthoma/ghc,nathyong/microghc-ghc,mfine/ghc,ezyang/ghc,forked-upstream-packages-for-ghcjs/ghc,lukexi/ghc,ghc-android/ghc,elieux/ghc,da-x/ghc,GaloisInc/halvm-ghc,mfine/ghc,GaloisInc/halvm-ghc,acowley/ghc,snoyberg/ghc,nathyong/microghc-ghc,ml9951/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,elieux/ghc,tjakway/ghcjvm,shlevy/ghc,ml9951/ghc,christiaanb/ghc,ml9951/ghc,mfine/ghc,oldmanmike/ghc,AlexanderPankiv/ghc,tibbe/ghc,olsner/ghc,snoyberg/ghc,ml9951/ghc,ghc-android/ghc,christiaanb/ghc,mcschroeder/ghc,tjakway/ghcjvm,gcampax/ghc,snoyberg/ghc,nushio3/ghc,acowley/ghc,GaloisInc/halvm-ghc,da-x/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,nathyong/microghc-ghc,fmthoma/ghc,gcampax/ghc,vTurbine/ghc,green-haskell/ghc,wxwxwwxxx/ghc,tjakway/ghcjvm,elieux/ghc,mfine/ghc,bitemyapp/ghc,bitemyapp/ghc,wxwxwwxxx/ghc,ml9951/ghc,da-x/ghc,nkaretnikov/ghc,shlevy/ghc,gridaphobe/ghc,gridaphobe/ghc,nushio3/ghc,mcschroeder/ghc,nathyong/microghc-ghc,oldmanmike/ghc,ml9951/ghc,mettekou/ghc,vTurbine/ghc,vikraman/ghc,siddhanathan/ghc,lukexi/ghc,oldmanmike/ghc,nkaretnikov/ghc,shlevy/ghc,shlevy/ghc,gcampax/ghc,nkaretnikov/ghc,mettekou/ghc,nushio3/ghc,lukexi/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,jstolarek/ghc,lukexi/ghc,mfine/ghc,gcampax/ghc,mcschroeder/ghc,elieux/ghc,forked-upstream-packages-for-ghcjs/ghc,anton-dessiatov/ghc,fmthoma/ghc,AlexanderPankiv/ghc,ghc-android/ghc,sgillespie/ghc,ghc-android/ghc,snoyberg/ghc,anton-dessiatov/ghc,sgillespie/ghc,tibbe/ghc,ryantm/ghc,frantisekfarka/ghc-dsi,siddhanathan/ghc,vTurbine/ghc,gridaphobe/ghc,nathyong/microghc-ghc,urbanslug/ghc,wxwxwwxxx/ghc,ezyang/ghc,siddhanathan/ghc,tjakway/ghcjvm,vikraman/ghc,vikraman/ghc,tibbe/ghc,siddhanathan/ghc,ryantm/ghc,vikraman/ghc,green-haskell/ghc,gcampax/ghc,sdiehl/ghc,christiaanb/ghc,mcschroeder/ghc,fmthoma/ghc,gridaphobe/ghc,christiaanb/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,mfine/ghc,sgillespie/ghc,spacekitteh/smcghc,oldmanmike/ghc,tjakway/ghcjvm,tibbe/ghc,da-x/ghc,gcampax/ghc,siddhanathan/ghc,bitemyapp/ghc,ryantm/ghc,anton-dessiatov/ghc,sdiehl/ghc,oldmanmike/ghc,bitemyapp/ghc,ryantm/ghc,olsner/ghc,AlexanderPankiv/ghc,fmthoma/ghc,ml9951/ghc,frantisekfarka/ghc-dsi,mfine/ghc,olsner/ghc,anton-dessiatov/ghc,urbanslug/ghc,ezyang/ghc,AlexanderPankiv/ghc,shlevy/ghc,mettekou/ghc,siddhanathan/ghc,nushio3/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,fmthoma/ghc,ghc-android/ghc,snoyberg/ghc,mettekou/ghc,sdiehl/ghc,siddhanathan/ghc,urbanslug/ghc,gridaphobe/ghc,elieux/ghc,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,wxwxwwxxx/ghc,vTurbine/ghc,ml9951/ghc,olsner/ghc,AlexanderPankiv/ghc,GaloisInc/halvm-ghc,tjakway/ghcjvm,TomMD/ghc,TomMD/ghc,tjakway/ghcjvm,da-x/ghc,acowley/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,anton-dessiatov/ghc,green-haskell/ghc,holzensp/ghc,frantisekfarka/ghc-dsi,ezyang/ghc,acowley/ghc,gridaphobe/ghc,holzensp/ghc,spacekitteh/smcghc,jstolarek/ghc,olsner/ghc,ezyang/ghc,lukexi/ghc,urbanslug/ghc,jstolarek/ghc,TomMD/ghc,frantisekfarka/ghc-dsi,forked-upstream-packages-for-ghcjs/ghc,nkaretnikov/ghc,bitemyapp/ghc,tibbe/ghc,nathyong/microghc-ghc,nkaretnikov/ghc,mettekou/ghc,acowley/ghc,acowley/ghc,spacekitteh/smcghc,da-x/ghc,nkaretnikov/ghc,christiaanb/ghc,nushio3/ghc,anton-dessiatov/ghc,olsner/ghc,sdiehl/ghc,vTurbine/ghc,nushio3/ghc,vTurbine/ghc,TomMD/ghc,urbanslug/ghc,vikraman/ghc,vikraman/ghc,gridaphobe/ghc,sgillespie/ghc,elieux/ghc,mcschroeder/ghc,sgillespie/ghc,elieux/ghc