From baaddc3c242540fcc6eef178a4576c34df84c339 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 20 Sep 2017 22:36:23 +0000
Subject: xsim (20sep17)

git-svn-id: svn://tug.org/texlive/trunk@45355 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex')

diff --git a/Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex
index ec88d1be00a..a932faf4472 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex
@@ -178,7 +178,7 @@
       }
       { \msg_error:nnn {xsim} {unknown-property} {#3} }  
   }
-\cs_generate_variant:Nn \xsim_set_property:nnnn {nnxx,nnnV,nV,nVnx,nnnx}
+\cs_generate_variant:Nn \xsim_set_property:nnnn {nnxx,nnnV,nV,nVnx,nnnx,xx,xxnx}
 
 \cs_new_protected:Npn \__xsim_set_boolean_property:nnnn #1#2#3#4
   {
@@ -416,9 +416,6 @@
   { \prop_item:Nn \g__xsim_properties_prop { #2 ! #1 ! #3 } }
 \cs_generate_variant:Nn \xsim_get_property:nnn {nx,xx,oo,no,nnf,nf,oof,nV}
 
-\cs_new:Npn \__xsim_get_property_tmp:n #1 {}
-\cs_generate_variant:Nn \__xsim_get_property_tmp:n {V}
-
 % #1: property
 % #2: value
 \cs_new:Npn \xsim_get_id_for_property:nn #1#2
@@ -430,6 +427,9 @@
   { \prop_item:cn {g__xsim_property_#1_type_prop} {#2} }
 \cs_generate_variant:Nn \xsim_get_type_for_property:nn {nV}
 
+\cs_new:Npn \__xsim_get_property_tmp:n #1 {}
+\cs_generate_variant:Nn \__xsim_get_property_tmp:n {V}
+
 % #1: type
 % #2: id
 % #3: property
@@ -467,7 +467,8 @@
           {
             \xsim_if_property_set:nnnTF {#1} {#2} {#3}
               {
-                \bool_if:cTF { c_ \xsim_get_property:nnn {#1} {#2} {#3} _bool}
+                \bool_if:cTF
+                  {c_ \xsim_get_property:nnn {#1} {#2} {#3} _bool}
                   { \prg_return_true: }
                   { \prg_return_false: }
               }
@@ -492,4 +493,4 @@
 \cs_generate_variant:Nn \xsim_gsave_property:nnnN {nx,xx}
 
 % ----------------------------------------------------------------------------
-\tex_endinput:D
+\file_input_stop:
-- 
cgit v1.2.3

