From 21d7092be538aef72f74e5959b58d3b9ff31cac5 Mon Sep 17 00:00:00 2001 From: ronny Date: Wed, 25 Jul 2001 14:39:35 +0000 Subject: removed underscoreModule from ParseState, this is now handled by the scanner removed underscored allowed parameter of isUpperCaseName and isLowerCaseName these routines now always look at the first non-underscore character adjusted the names of some types and constructors in predef so that they start with an uppercase letter git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@571 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- frontend/utilities.dcl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'frontend/utilities.dcl') diff --git a/frontend/utilities.dcl b/frontend/utilities.dcl index 6eaa0b4..965f872 100644 --- a/frontend/utilities.dcl +++ b/frontend/utilities.dcl @@ -18,11 +18,8 @@ stringToCharList :: !String -> [Char] charListToString :: ![Char] -> String revCharListToString :: !Int ![Char] -> String -NoUnderscores :== False -UnderscoresAllowed :== True - -isUpperCaseName :: ! String !Bool -> Bool -isLowerCaseName :: ! String !Bool -> Bool +isUpperCaseName :: ! String -> Bool +isLowerCaseName :: ! String -> Bool isFunnyIdName :: ! String -> Bool isSpecialChar :: ! Char -> Bool -- cgit v1.2.3