diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-23 14:58:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-23 14:58:30 +0200 |
commit | 79cb3221c2babe6f560f2e3e463e899631a32b33 (patch) | |
tree | 2135159931dde6acde213d6e8de1bdbd06d222d4 /unit-tests | |
parent | c6265603e0e98c19f8d81c8edd5a34a550063c02 (diff) |
Implement few builtin functions that can operate on any value
type()
null()
empty ()
identity()
Diffstat (limited to 'unit-tests')
-rw-r--r-- | unit-tests/function/buildfile | 4 | ||||
-rw-r--r-- | unit-tests/test/script/parser/buildfile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/unit-tests/function/buildfile b/unit-tests/function/buildfile index 1efc7e1..756fbcd 100644 --- a/unit-tests/function/buildfile +++ b/unit-tests/function/buildfile @@ -7,8 +7,8 @@ import libs = libbutl%lib{butl} src = token lexer diagnostics utility variable name b-options types-parsers \ context scope parser target operation rule prerequisite file module function \ -functions-path functions-process-path algorithm search dump filesystem \ -config/{utility init operation} +functions-builtin functions-path functions-process-path algorithm search dump \ +filesystem config/{utility init operation} exe{driver}: cxx{driver} ../../build2/cxx{$src} $libs test{call syntax} diff --git a/unit-tests/test/script/parser/buildfile b/unit-tests/test/script/parser/buildfile index 5025e60..6cc319a 100644 --- a/unit-tests/test/script/parser/buildfile +++ b/unit-tests/test/script/parser/buildfile @@ -7,7 +7,7 @@ import libs = libbutl%lib{butl} src = token lexer parser diagnostics utility variable name context target \ scope prerequisite file module operation rule b-options algorithm search \ -filesystem function functions-path functions-process-path \ +filesystem function functions-builtin functions-path functions-process-path \ config/{utility init operation} dump types-parsers test/{target \ script/{token lexer parser script}} |