diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-03-21 09:16:59 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-03-21 09:16:59 +0000 |
commit | 388463b9fa865c3b2311508c41647b0f3c532031 (patch) | |
tree | 1cdfbf5552d0783ecbcc52017e49567e5042af33 /Build/source/texk/web2c/luatexdir/tex/directions.h | |
parent | abd0b00a4e8c1ac6f5b20c7474d70ef579129991 (diff) |
Import MetaPost 1.800 and LuaTeX beta-0.75.0 from LuaTeX repository r4604
git-svn-id: svn://tug.org/texlive/trunk@29453 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/directions.h')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/directions.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/directions.h b/Build/source/texk/web2c/luatexdir/tex/directions.h index f7b3e784d07..30f52743388 100644 --- a/Build/source/texk/web2c/luatexdir/tex/directions.h +++ b/Build/source/texk/web2c/luatexdir/tex/directions.h @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */ -/* $Id: directions.h 3853 2010-09-03 18:05:14Z oneiros $ */ +/* $Id: directions.h 4569 2013-01-30 10:08:33Z taco $ */ #ifndef DIRECTIONS_H # define DIRECTIONS_H @@ -32,6 +32,7 @@ # define dir_LTL 9 # define dir_RTT 24 +extern const char *dir_strings[128]; /* # define dir_array_size 25 *//* |dir_RTT + 1| */ @@ -305,22 +306,22 @@ _textdir_is[dir_RTT] = 0; # define textdir_is_L(a) (a == dir_TLT) -# define push_dir(a) \ +# define push_dir(a,b) \ { halfword dir_tmp=new_dir((a)); \ - vlink(dir_tmp)=dir_ptr; \ - dir_ptr=dir_tmp; \ + vlink(dir_tmp)=b; \ + b=dir_tmp; \ } -# define push_dir_node(a) \ - { halfword dir_tmp=copy_node((a)); \ - vlink(dir_tmp)=dir_ptr; \ - dir_ptr=dir_tmp; \ +# define push_dir_node(a,b) \ + { halfword dir_tmp=copy_node((a)); \ + vlink(dir_tmp)=b; \ + b=dir_tmp; \ } -# define pop_dir_node() \ - { halfword dir_tmp=dir_ptr; \ - dir_ptr=vlink(dir_tmp); \ - flush_node(dir_tmp); \ +# define pop_dir_node(b) \ + { halfword dir_tmp=b; \ + b=vlink(dir_tmp); \ + flush_node(dir_tmp); \ } extern halfword dir_ptr; |