prepend builder-temporary construction variables with "_"; reserve lowercase string variables for user

This commit is contained in:
josh committed 2013-09-16 22:30:16 -04:00
1 parent f13664331f
commit 986b8f08cc
4 files changed
+22 -21

No files matched your search

+4 -3
View File
@@ -11,9 +11,10 @@ module Rscons
# Create an Environment object.
# @param variables [Hash]
# The variables hash can contain both construction variables, which are
# uppercase strings (such as "CC" or "LDFLAGS"), and RScons options,
# which are lowercase symbols (such as :echo).
# The variables hash can contain construction variables, which are
# uppercase strings (such as "CC" or "LDFLAGS"), user variables, which
# are lowercase strings (such as "sources"), and RScons options, which
# are lowercase symbols (such as :echo).
# If a block is given, the Environment object is yielded to the block and
# when the block returns, the {#process} method is automatically called.
def initialize(variables = {})