diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-06 15:16:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-06 15:16:04 +0200 |
commit | 97ca7117735044673da6c89ee9dff544a3526f70 (patch) | |
tree | a32cc31de9e04a258d8701b4c573051a6924596b /old-tests/if-else/buildfile | |
parent | c20c3ad3141d88003245c6c7608e1f75c620e866 (diff) |
Resolve if-else block ambiguity
Diffstat (limited to 'old-tests/if-else/buildfile')
-rw-r--r-- | old-tests/if-else/buildfile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/old-tests/if-else/buildfile b/old-tests/if-else/buildfile index 25fabf0..16a49fb 100644 --- a/old-tests/if-else/buildfile +++ b/old-tests/if-else/buildfile @@ -148,6 +148,15 @@ if true else print 1 +# Brace ambiguity. +# +if false + {dir}{.}: x = 0 +else + {dir}{.}: x = 1 + +print $(dir{.}:x) + # EOF test. # ./: |