forked from GitHub/gf-core
ModuleName and Ident are now distinct types
This makes the documentation clearer, and can potentially catch more programming mistakes.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user