summary refs log tree commit diff stats
path: root/data/ast.yml
diff options
context:
space:
mode:
Diffstat (limited to 'data/ast.yml')
-rw-r--r--data/ast.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/data/ast.yml b/data/ast.yml
index c4b261bba..82776a8f9 100644
--- a/data/ast.yml
+++ b/data/ast.yml
@@ -1,14 +1,14 @@
 #
 #
 #           The Nimrod Compiler
-#        (c) Copyright 2008 Andreas Rumpf
+#        (c) Copyright 2009 Andreas Rumpf
 #
 #    See the file "copying.txt", included in this
 #    distribution, for details about the copyright.
 #
 
 {
-'SymFlag': [          # already 26 flags!
+'SymFlag': [          # already 28 flags!
   'sfUsed',           # read access of sym (for warnings) or simply used
   'sfStar',           # symbol has * visibility
   'sfMinus',          # symbol has - visibility
@@ -42,6 +42,7 @@
   'sfThreadVar',      # variable is a thread variable
   'sfMerge',          # proc can be merged with itself
   'sfDeadCodeElim',   # dead code elimination for the module is turned on
+  'sfBorrow'          # proc is borrowed
 ],
 
 'TypeFlag': [
@@ -58,8 +59,9 @@
   'tyGeneric',
   'tyGenericInst', # instantiated generic type
   'tyGenericParam',
+  'tyAbstract',    # abstract type
   'tyEnum',
-  'tyAnyEnum',
+  'tyOrdinal',
   'tyArray',
   'tyObject',
   'tyTuple',
@@ -233,6 +235,7 @@
   'nkRefTy',
   'nkPtrTy',
   'nkVarTy',
+  'nkAbstractTy',         # abstract type
   'nkProcTy',
   'nkEnumTy',
   'nkEnumFieldDef',       # `ident = expr` in an enumeration