Browse Source

remove note about references

pull/16/head
Brett Langdon 11 years ago
parent
commit
2ca29bdfed
1 changed files with 0 additions and 18 deletions
  1. +0
    -18
      forge.go

+ 0
- 18
forge.go View File

@ -79,24 +79,6 @@
// statement is defined. Includes are in the format 'include "<pattern>";'. The <pattern> can be any glob
// like pattern which is compatible with `path.filepath.Match` http://golang.org/pkg/path/filepath/#Match
//
// Note about references.
//
// References are resolved during parsing not access (they do not act as pointers... today).
// Meaning that if I have the following config:
// setting = "value";
// ref_to_setting = setting;
//
// During parsing when I get to `ref_to_setting` it will be resolved immediately and it's value will
// be set to `"value"`.
//
// This config example, however, will raise a parsing error since it cannot resolve the reference:
// ref_to_setting = setting;
// setting = "value";
//
// Since `setting` does not exist yet.
// This is mostly due to the naive implementation of references today. How they work may change in
// future versions or they may disappear entirely.
//
package forge
import (


Loading…
Cancel
Save