diff options
author | Araq <rumpf_a@web.de> | 2014-03-10 22:23:38 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-03-10 22:23:38 +0100 |
commit | 3270676e77676335446287fcff05aa6a6b9b4919 (patch) | |
tree | 4bd724bed5ae887efa9d8f97494755715980ca20 /compiler/ast.nim | |
parent | 121553d1a69c4d175259944f6bdc9f9dcfda9cdd (diff) | |
parent | 1546d210c5739213ebf93eb0cb624ca7a9fe9ad6 (diff) | |
download | Nim-3270676e77676335446287fcff05aa6a6b9b4919.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r-- | compiler/ast.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index 9c9dfce9a..f9cab0d88 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -818,6 +818,9 @@ type counter*: int data*: TObjectSeq + TImplication* = enum + impUnknown, impNo, impYes + # BUGFIX: a module is overloadable so that a proc can have the # same name as an imported module. This is necessary because of # the poor naming choices in the standard library. @@ -865,6 +868,7 @@ const nkCallKinds* = {nkCall, nkInfix, nkPrefix, nkPostfix, nkCommand, nkCallStrLit, nkHiddenCallConv} + nkLiterals* = {nkCharLit..nkTripleStrLit} nkLambdaKinds* = {nkLambda, nkDo} declarativeDefs* = {nkProcDef, nkMethodDef, nkIteratorDef, nkConverterDef} procDefs* = nkLambdaKinds + declarativeDefs |