From 391b301881bee7de9580f2c6d819144161e6a51d Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 21 Oct 2014 19:20:31 +0000 Subject: ModuleName and Ident are now distinct types This makes the documentation clearer, and can potentially catch more programming mistakes. --- src/compiler/GF/Grammar/Predef.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/compiler/GF/Grammar/Predef.hs') diff --git a/src/compiler/GF/Grammar/Predef.hs b/src/compiler/GF/Grammar/Predef.hs index 633ced494..eec53788d 100644 --- a/src/compiler/GF/Grammar/Predef.hs +++ b/src/compiler/GF/Grammar/Predef.hs @@ -10,16 +10,16 @@ module GF.Grammar.Predef where -import GF.Infra.Ident(Ident,identS) +import GF.Infra.Ident(Ident,identS,moduleNameS) cType = identS "Type" cPType = identS "PType" cTok = identS "Tok" cStr = identS "Str" cStrs = identS "Strs" -cPredefAbs = identS "PredefAbs" -cPredefCnc = identS "PredefCnc" -cPredef = identS "Predef" +cPredefAbs = moduleNameS "PredefAbs" +cPredefCnc = moduleNameS "PredefCnc" +cPredef = moduleNameS "Predef" cInt = identS "Int" cFloat = identS "Float" cString = identS "String" -- cgit v1.2.3