New syntax for the <abs> function.
commit8f50a5095491b4f859ac56b4dd629eb5ab81f141
authorHenrik Tidefelt <tidefelt@isy.liu.se>
Wed, 26 Nov 2008 11:52:00 +0000 (26 12:52 +0100)
committerHenrik Tidefelt <tidefelt@isy.liu.se>
Tue, 2 Dec 2008 00:54:07 +0000 (2 01:54 +0100)
tree7189cf9c9011eed8a59a83ce15eeaac078ebc426
parent8284f373e03568d5b504b34f5fc5953b2d40c586
New syntax for the <abs> function.

The new syntax is, for instance
  (| pth |)
which is equivalent to
  [abs pth]
except that the former cannot mean something unexpected due to shadowing.

Note that the abs function is still bound to "abs" in the global environment.
doc/parts/bindings/functions.sxml
doc/parts/syntax/misc.sxml
source/coreelem.cc
source/globals.h
source/shapesparser.yy
source/shapesyylex.ll