]> Cypherpunks repositories - gostls13.git/commitdiff
- added missing keyword 'iota'
authorRobert Griesemer <gri@golang.org>
Tue, 8 Jul 2008 23:01:10 +0000 (16:01 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 8 Jul 2008 23:01:10 +0000 (16:01 -0700)
SVN=126397

doc/go_lang.txt

index 73acfb76bc7b48e96e97a8f6c6866951d293589a..2f102c06ccd9d2d07396883df7fc1178fb381aba 100644 (file)
@@ -313,14 +313,14 @@ type, a function, etc. An identifier must not be a reserved word.
 Reserved words
 ----
 
-  break         fallthrough       import            return
-  case          false             interface         select
+  break         fallthrough       interface         return
+  case          false             iota              select
   const         for               map               struct
   chan          func              new               switch
   continue      go                nil               true
   default       goto              package           type
   else          if                range             var
-  export
+  export        import
 
 
 TODO: "len" is currently also a reserved word - it shouldn't be.