Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Allow lists to be indexed by multiple values #83

Closed
wants to merge 162 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
0581c97
Allow assignment methods with arbitrary list indices. Also clean up a…
stevelinton Mar 11, 2015
1a0dd39
Add IS_POS_INTOBJ macro
fingolfin Mar 11, 2015
b724b26
Implement IsBound and Unbind for arbitrary list indices
fingolfin Mar 11, 2015
31c5116
Merge branch 'master' of https://github.com/gap-system/gap into sl/mu…
stevelinton Mar 16, 2015
7af4512
Partial support for multi-indexing in list access l[x,y,...]
stevelinton Mar 16, 2015
2962372
Print multi-indexed list access expressions.
stevelinton Mar 17, 2015
70a68c8
Add support for multi-index in nested matrix access after {} etc.
stevelinton Mar 17, 2015
2f80500
Assignment, IsBound and Unbind should work in the interpreter.
stevelinton Mar 18, 2015
3f2cbf1
Spotted a detail I had missed in previous commit.
stevelinton Mar 18, 2015
a926e97
Add statement and expression printing. Fix a few typos and comments
stevelinton Mar 18, 2015
f4aed5e
Document
stevelinton Mar 18, 2015
3b8f460
Added infinite recursion safety checks for generic modulo pcgs
hulpke Mar 10, 2015
21587ad
Revert "Added infinite recursion safety checks for generic modulo pcgs"
hulpke Mar 10, 2015
81e4f4c
Switch to JSON output of profiling instructions
ChrisJefferson Mar 12, 2015
50d32aa
Library: Add ViewString method for DoubleCoset
Mar 11, 2015
8d6da9d
dev/: Remove manual.txt
Mar 5, 2015
88f48d1
Delete some more redundant files
Mar 5, 2015
77e0f7d
Remove gap5.txt
Mar 5, 2015
f7bd09b
Remove some more files.
Mar 5, 2015
fdd2c61
Delete directory dev/wininst
Mar 9, 2015
70dd5cb
Remove some more directories
Mar 12, 2015
e3282c7
Add a file that lists the deleted files and directories
Mar 12, 2015
6b503f8
Restored accidentally deleted file.
Mar 13, 2015
0d8b508
Library: Remove commented out function
Mar 13, 2015
689d5df
Remove functions now in profiling package
ChrisJefferson Mar 16, 2015
c6c3cf5
Fix documentation
ChrisJefferson Mar 16, 2015
ba421ca
Update profiling to not print ticks when it doesn't make sense
ChrisJefferson Mar 16, 2015
fce3362
Support for more atomic constructs from HPC-GAP.
Mar 16, 2015
27a74f9
Improve performance and allow outputting only every so many ticks, to…
ChrisJefferson Mar 16, 2015
9fa0ba2
Fix typos: 'the the' -> 'the'
fingolfin Mar 17, 2015
c099c3c
Fix parsing of atomic functions and atomic arguments
ChrisJefferson Mar 17, 2015
76df2b0
Regenerate cnf/Makegap.in
fingolfin Mar 17, 2015
1147a70
Limit maximum length of names in records
ChrisJefferson Mar 17, 2015
60b9c4f
Fix typo in STOP_TEST
ChrisJefferson Mar 17, 2015
d0dd6e7
Make matrix derefs report error locations correctly
ChrisJefferson Mar 17, 2015
e1818d9
grpperm.tst: NrMovedPoints(g/h) is randomized, do not use in tests
fingolfin Mar 18, 2015
3d4fec8
Fixed bug and added comments in FuncFLAT_KERNEL_TRANS_INT
mtorpey Mar 18, 2015
a3b2927
Add support for using gettimeofday for profiling time
ChrisJefferson Mar 18, 2015
342cf09
Fix profiling on function of arity > 0
ChrisJefferson Mar 18, 2015
53b8885
First cut. Surprisingly mostly works.
stevelinton Mar 18, 2015
c19ecab
Better error messages
stevelinton Mar 19, 2015
19387ea
Add error handling for case of more than 6 arguments which still
stevelinton Mar 19, 2015
1ea618c
Reduce output when doing code coverage
ChrisJefferson Mar 19, 2015
9af21fc
Improve profiling
ChrisJefferson Mar 19, 2015
c931088
Fix mistake in profile outputting wrong number of lines
ChrisJefferson Mar 19, 2015
cca5049
Fix mistake in profiling missing some lines
ChrisJefferson Mar 19, 2015
56cbeb3
Fixed an issue where QuoPPerm writes zeroes beyond the end of a list
mtorpey Mar 19, 2015
ad65834
Fixed memory bug in FuncON_KERNEL_ANTI_ACTION
mtorpey Mar 19, 2015
a31ec4c
Moved some lines to avoid memory management issues, and changed from …
mtorpey Mar 19, 2015
ebd5d26
pc collector: split code for 8/16/32 bit into separate files
fingolfin Mar 20, 2015
ecb9fcc
pc collector: reduce differences between 8/16/32 bit collector variants
fingolfin Mar 20, 2015
026316e
pc collector: further reduce diffs between 8/16/32 bit collectors
fingolfin Mar 20, 2015
7115955
pc collector: fix a potential bug in 8bit single collector code
fingolfin Mar 20, 2015
eed689d
pc collector: merge 8/16/32 bit pc collector implementations
fingolfin Mar 20, 2015
148ff0b
pc collector: get rid of the CB() macro
fingolfin Mar 20, 2015
382e84f
pc collector: cleanup some code in Solution()
fingolfin Mar 20, 2015
070f204
pc collector: replace per-collector stacks by shared global stacks
fingolfin Mar 20, 2015
36f5a94
fix spelling mistakes
fingolfin Mar 20, 2015
633b48e
Moved critical section inot kernel. 20% win
stevelinton Mar 19, 2015
58ae58e
Use the new kernel functionality from AddGeneratorsExtendSchreierTree
stevelinton Mar 19, 2015
3136635
A bit more speedup and some tidying.
stevelinton Mar 19, 2015
cfdbb69
Library: Next attempt at fixing Display/View/Print for cosets
Mar 20, 2015
72c864b
First cut. Surprisingly mostly works.
stevelinton Mar 18, 2015
3244ff6
Add error handling for case of more than 6 arguments which still
stevelinton Mar 19, 2015
fa59187
Bug in function printing.
stevelinton Mar 19, 2015
0222686
Give an error if arg is used other than as the last argument
stevelinton Mar 20, 2015
d5b074e
Add some documentation
stevelinton Mar 20, 2015
8267cde
Small improvement in manual
stevelinton Mar 20, 2015
aac11bd
SmallGroups: Add ShallowCopy function for SimpleGroupsIterator
Mar 21, 2015
1b7c9fd
Add nicer iterator printing functionality
Mar 21, 2015
61afec4
SimpleGroupsIterator: Some whitespace cleanup
Mar 21, 2015
e82231d
Add a test for SimpleGroupsIterator
Mar 21, 2015
68cf9bc
Pass the correct parameter to IsFunction
Mar 22, 2015
8efe6cc
Removed command from semigrp.tst
Mar 24, 2015
3d91ffa
Merge gap and hpcgap exit handling
ChrisJefferson Mar 24, 2015
0031d5d
Make objscoll.c restore global variables on workspace loading
ChrisJefferson Mar 27, 2015
e03b7ee
Changed handling or errors in relation to new arg syntax -- made arg …
stevelinton Mar 27, 2015
c01233f
Unify how QUIT_GAP, FORCE_QUIT_GAP and GAP_EXIT_CODE handle booleans
ChrisJefferson Mar 26, 2015
28f8ca7
Switch to new travis way of installing packages
ChrisJefferson Mar 28, 2015
b1444cb
Library: Add IsZero method for IsNullMapMatrix
Mar 28, 2015
504c447
Library: Fix a typo in the cosets code.
Mar 28, 2015
36c6c67
SmallGroups: Fix ShallowCopy for SimpleGroupsIterator
Mar 28, 2015
bdbffd3
Change argumentslists for ReturnFalse/Fail/True for nicer printing
stevelinton Mar 30, 2015
d31e7b2
Adjusted examples of partially variadic functions.
Mar 30, 2015
6d4fcf0
Clean up and document exit-code handling
ChrisJefferson Apr 2, 2015
1450add
Add TestDirectory function
ChrisJefferson Apr 2, 2015
37d9c72
Add a kernel ShallowCopy function for Blists.
stevelinton Apr 4, 2015
ebb76c5
Punctuation tweak to CONTRIBUTING.md
Apr 5, 2015
7a83efa
Punctuation tweak to CONTRIBUTING.md
Apr 5, 2015
6ff1e56
Updated package.gd to add example for LoadPackage command
Apr 5, 2015
5642c18
Added further two examples for LoadPackage command
Apr 6, 2015
537238a
Added line break to overflowing line #719 in package.gd
Apr 6, 2015
feca67a
Refined example additions for LoadPackage
Apr 6, 2015
eecb4f3
Added `makemanuals` test for Travis CI.
Apr 6, 2015
594de0d
Updated package.gd
Apr 7, 2015
cf0a3fb
zmodnz: set ring size upon creation
fingolfin Apr 10, 2015
278f02f
zmodnz: add test for printing ZmodnZ for some large n
fingolfin Apr 10, 2015
0ce2de7
zmodnz: consistently access the modulus
fingolfin Apr 10, 2015
e1e66d7
zmodnz: use fam.!Characteristic instead of Characteristic(fam)
fingolfin Apr 10, 2015
895db46
zmodnz: get rid of ZNZ_PURE_TYPE
fingolfin Apr 10, 2015
70794bd
zmodnz: avoid using ModulusOfZmodnZObj, use Characteristic instead
fingolfin Apr 10, 2015
1f99ef6
Add ErrorMayQuit function, and documentation
ChrisJefferson Apr 27, 2015
a1f0fab
fixed bug reported by Istvan Szollosi
willemdegraaf Apr 28, 2015
d48ea72
Rearrange test files into directories
ChrisJefferson Apr 28, 2015
26419cc
Fixed GAPDoc label broken by renaming testall.g to teststandard.g
May 1, 2015
88906ab
Profile update and cleanup
ChrisJefferson Apr 27, 2015
47429f7
No test.tmp file in teststandard. It uses same machinery as testinstall.
May 1, 2015
602959e
Test for conjugatior isomorphism:
hulpke May 4, 2015
23dda0f
Moved ctbl.tst from testinstall to teststandard.
May 6, 2015
5a66c67
Added test for the fix of the bug reported by Istvan Szollosi.
May 12, 2015
fbd6ad5
Error message for EpimorphismSolbvableGroup.
hulpke May 14, 2015
c76085f
Fix function prototype for getFilenameId in profile.c
May 15, 2015
2e2cd4c
Fix speed regression in pc collectors
fingolfin Mar 29, 2015
8cb834e
Fix a typo in testtravis.g
May 29, 2015
0930b7c
Deleted manual.bib. The right place for the bibliography is manualbib…
May 29, 2015
94885a6
Update GMP to version 6.0.0a
Jun 2, 2015
dd85564
Add gmp-6.0.0a.tar.bz2 archive
Jun 2, 2015
c6cd44e
Remove GMP 5.0.4
Jun 2, 2015
76472c5
Add iterator for stabiliser chains and permutation groups
May 29, 2015
81e9637
Avoid a crash when isatty(x) is true but ttyname(x) is NULL.
jamesjer May 20, 2015
ef97f26
Correct a typo in documentation of IteratorStabChain
Jun 3, 2015
5a24b1c
Iterators for stabiliser chains: Use correct order
Jun 3, 2015
62d7702
Link to GAP on GitHub: Quickstart
Jun 5, 2015
d2afcc9
Reference Manual: Correct reference
Jun 7, 2015
1d4256c
Fixes for automorophism group:
hulpke Jun 9, 2015
e24ed37
Field of order 2 also has trivial Galois group.
hulpke Jun 9, 2015
709d7e1
Allow longer line length when printing CSV files.
hulpke Jun 11, 2015
5e7d430
Catch case of simple groups for CompositionSeries.
hulpke Jun 11, 2015
bd93e26
Special cases for WreathActionChiefFactor if kernel is trivial, or we…
hulpke Jun 11, 2015
ec61c0b
Added `MaximalPropertySubgroups' and `MaximalSolvableSubgroups'
hulpke Jun 11, 2015
0b4a527
Copying missing cygpanelw-10.dll needed to load Browse package.
Jun 9, 2015
707305b
Overview of changes for GAP 4.7.8.
Jun 4, 2015
e384f02
Small improvement in generic `OrbitsDomain' code.
hulpke Jun 17, 2015
051dcb2
Add Makefile targets to bootstrap GAP
Jun 18, 2015
d2a817f
Update Makefile.in to pull the correct archives
Jun 22, 2015
f64342e
Remove misleading makepkgs
Jun 22, 2015
f42f0e0
Test using bootstrap-pkg-full
Jun 22, 2015
6e9417f
Remove verbose from tar for unpacking packages
Jun 22, 2015
69a4797
Adjust vartest.tst to check for short names
Jun 22, 2015
c706ffb
Style cleanup: static int instead of int static
Jun 23, 2015
0ea21d4
Updated functionality, now parses much of the ClassicalMaximals files OK
hulpke Jun 23, 2015
d1bf432
Update
hulpke Jun 24, 2015
388db8f
Next
hulpke Jun 24, 2015
b46282c
Cleanup of commond line options
frankluebeck Jun 24, 2015
3a2a5a3
SemidirectProduct for FP groups.
hulpke Jun 24, 2015
d5986a6
Next
hulpke Jun 24, 2015
7cbccb7
Next
hulpke Jun 25, 2015
21d7eed
After fixing the defualt SemidirectProduct method to require `IsFinit…
hulpke Jun 25, 2015
e70b323
Fix testbugfix.g
Jun 25, 2015
e0f8ff3
Next
hulpke Jun 25, 2015
98f6738
Fix bugfix directory
ChrisJefferson Jul 1, 2015
7b1496d
lib/basis.gi: Handle some cases involving zero space and zero vector
Jul 2, 2015
d3a258d
Travis CI checks that all three main GAP manuals have been built.
Jul 2, 2015
b2e615a
NOt quite sure what I am merging here but it seems like just tidying.
stevelinton Jul 7, 2015
86d3e3f
Partial support for multi-indexing in list access l[x,y,...]
stevelinton Mar 16, 2015
34fea57
Print multi-indexed list access expressions.
stevelinton Mar 17, 2015
7313ce3
Add support for multi-index in nested matrix access after {} etc.
stevelinton Mar 17, 2015
032223d
Assignment, IsBound and Unbind should work in the interpreter.
stevelinton Mar 18, 2015
33040ee
Spotted a detail I had missed in previous commit.
stevelinton Mar 18, 2015
a5bf42f
Add statement and expression printing. Fix a few typos and comments
stevelinton Mar 18, 2015
0eb3060
Document
stevelinton Mar 18, 2015
6a30d46
Trying to get everything into shape
stevelinton Jul 8, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions dev/Updates/multi-index
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Format 'yyyy/mm/dd'
!! Date
2015/03/18
!! Changed by
SL
! Reported by

!! Type of Change
New: extended functionality

!! Description

Kernel support for accessing lists using multiple indices.
This doesn't do anything by itself but allows library or packages
to install methods supporting expressions like
m[1,2];
m[1,2,3] := x;
IsBound(m["a","b",Z(7)]);
Unbind(m[1][2,3])


! Test Code

! Prefetch

!! Changeset

!! End
8 changes: 4 additions & 4 deletions lib/list.gd
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ DeclareAttributeKernel( "Length", IsList, LENGTH );
## <#/GAPDoc>
##
DeclareOperationKernel( "IsBound[]",
[ IsList, IS_INT ],
[ IsList, IsObject ],
ISB_LIST );


Expand All @@ -173,7 +173,7 @@ DeclareOperationKernel( "IsBound[]",
#o <list>[<pos>] . . . . . . . . . . . . . . . select an element from a list
##
DeclareOperationKernel( "[]",
[ IsList, IS_INT ],
[ IsList, IsObject ],
ELM_LIST );


Expand Down Expand Up @@ -234,7 +234,7 @@ DeclareOperationKernel( "Elm0List",
## <#/GAPDoc>
##
DeclareOperationKernel( "Unbind[]",
[ IsList and IsMutable, IS_INT ],
[ IsList and IsMutable, IsObject ],
UNB_LIST );


Expand All @@ -243,7 +243,7 @@ DeclareOperationKernel( "Unbind[]",
#o <list>[<pos>] := <obj>
##
DeclareOperationKernel( "[]:=",
[ IsList and IsMutable, IS_INT, IsObject ],
[ IsList and IsMutable, IsObject, IsObject ],
ASS_LIST );


Expand Down
109 changes: 70 additions & 39 deletions src/code.c
Original file line number Diff line number Diff line change
Expand Up @@ -2353,20 +2353,24 @@ void CodeIsbGVar (
*F CodeAssListLevel( <level> ) . . . . . . code assignment to several lists
*F CodeAsssListLevel( <level> ) . code multiple assignment to several lists
*/
void CodeAssListUniv (
Stat ass )
void CodeAssListUniv (
Stat ass,
Int narg)
{
Expr list; /* list expression */
Expr pos; /* position expression */
Expr rhsx; /* right hand side expression */
Int i;

/* enter the right hand side expression */
rhsx = PopExpr();
ADDR_STAT(ass)[2] = (Stat)rhsx;
ADDR_STAT(ass)[narg+1] = (Stat)rhsx;

/* enter the position expression */
pos = PopExpr();
ADDR_STAT(ass)[1] = (Stat)pos;
for (i = narg; i > 0; i--) {
pos = PopExpr();
ADDR_STAT(ass)[i] = (Stat)pos;
}

/* enter the list expression */
list = PopExpr();
Expand All @@ -2376,15 +2380,25 @@ void CodeAssListUniv (
PushStat( ass );
}

void CodeAssList ( void )
void CodeAssList ( Int narg )
{
Stat ass; /* assignment, result */

/* allocate the assignment */
ass = NewStat( T_ASS_LIST, 3 * sizeof(Stat) );
switch (narg) {
case 1:
ass = NewStat( T_ASS_LIST, 3 * sizeof(Stat) );
break;

case 2:
ass = NewStat(T_ASS2_LIST, 4* sizeof(Stat));
break;
default:
ass = NewStat(T_ASSX_LIST, (narg + 2)*sizeof(Stat));
}

/* let 'CodeAssListUniv' do the rest */
CodeAssListUniv( ass );
CodeAssListUniv( ass, narg );
}

void CodeAsssList ( void )
Expand All @@ -2395,20 +2409,20 @@ void CodeAsssList ( void )
ass = NewStat( T_ASSS_LIST, 3 * sizeof(Stat) );

/* let 'CodeAssListUniv' do the rest */
CodeAssListUniv( ass );
CodeAssListUniv( ass, 1 );
}

void CodeAssListLevel (
void CodeAssListLevel ( Int narg,
UInt level )
{
Stat ass; /* assignment, result */

/* allocate the assignment and enter the level */
ass = NewStat( T_ASS_LIST_LEV, 4 * sizeof(Stat) );
ADDR_STAT(ass)[3] = (Stat)level;
ass = NewStat( T_ASS_LIST_LEV, (narg +3) * sizeof(Stat) );
ADDR_STAT(ass)[narg+2] = (Stat)level;

/* let 'CodeAssListUniv' do the rest */
CodeAssListUniv( ass );
CodeAssListUniv( ass, narg );
}

void CodeAsssListLevel (
Expand All @@ -2421,26 +2435,29 @@ void CodeAsssListLevel (
ADDR_STAT(ass)[3] = (Stat)level;

/* let 'CodeAssListUniv' do the rest */
CodeAssListUniv( ass );
CodeAssListUniv( ass, 1 );
}


/****************************************************************************
**
*F CodeUnbList() . . . . . . . . . . . . . . . code unbind of list position
*/
void CodeUnbList ( void )
void CodeUnbList ( Int narg )
{
Expr list; /* list expression */
Expr pos; /* position expression */
Stat ass; /* unbind, result */
Int i;

/* allocate the unbind */
ass = NewStat( T_UNB_LIST, 2 * sizeof(Stat) );
ass = NewStat( T_UNB_LIST, (narg+1) * sizeof(Stat) );

/* enter the position expression */
pos = PopExpr();
ADDR_STAT(ass)[1] = (Stat)pos;
/* enter the position expressions */
for (i = narg; i > 0; i--) {
pos = PopExpr();
ADDR_STAT(ass)[i] = (Stat)pos;
}

/* enter the list expression */
list = PopExpr();
Expand All @@ -2459,14 +2476,19 @@ void CodeUnbList ( void )
*F CodeElmsListLevel( <level> ) . code multiple selection of several lists
*/
void CodeElmListUniv (
Expr ref )
Expr ref,
Int narg)
{
Expr list; /* list expression */
Expr pos; /* position expression */
Int i;

/* enter the position expression */
pos = PopExpr();
ADDR_EXPR(ref)[1] = pos;

for (i = narg; i > 0; i--) {
pos = PopExpr();
ADDR_EXPR(ref)[i] = pos;
}

/* enter the list expression */
list = PopExpr();
Expand All @@ -2476,15 +2498,21 @@ void CodeElmListUniv (
PushExpr( ref );
}

void CodeElmList ( void )
void CodeElmList ( Int narg )
{
Expr ref; /* reference, result */

/* allocate the reference */
ref = NewExpr( T_ELM_LIST, 2 * sizeof(Expr) );

/* let 'CodeElmListUniv' to the rest */
CodeElmListUniv( ref );
/* allocate the reference */
if (narg == 1)
ref = NewExpr( T_ELM_LIST, 2 * sizeof(Expr) );
else if (narg == 2)
ref = NewExpr( T_ELM2_LIST, 3 * sizeof(Expr) );
else
ref = NewExpr( T_ELMX_LIST, (narg + 1) *sizeof(Expr));

/* let 'CodeElmListUniv' to the rest */
CodeElmListUniv( ref, narg );

}

void CodeElmsList ( void )
Expand All @@ -2495,20 +2523,20 @@ void CodeElmsList ( void )
ref = NewExpr( T_ELMS_LIST, 2 * sizeof(Expr) );

/* let 'CodeElmListUniv' to the rest */
CodeElmListUniv( ref );
CodeElmListUniv( ref, 1 );
}

void CodeElmListLevel (
void CodeElmListLevel ( Int narg,
UInt level )
{
Expr ref; /* reference, result */

/* allocate the reference and enter the level */
ref = NewExpr( T_ELM_LIST_LEV, 3 * sizeof(Expr) );
ADDR_EXPR(ref)[2] = (Stat)level;
ref = NewExpr( T_ELM_LIST_LEV, (narg+2)*sizeof(Expr));
ADDR_EXPR(ref)[narg+1] = (Stat)level;

/* let 'CodeElmListUniv' do the rest */
CodeElmListUniv( ref );
CodeElmListUniv( ref, narg );
}

void CodeElmsListLevel (
Expand All @@ -2521,26 +2549,29 @@ void CodeElmsListLevel (
ADDR_EXPR(ref)[2] = (Stat)level;

/* let 'CodeElmListUniv' do the rest */
CodeElmListUniv( ref );
CodeElmListUniv( ref, 1 );
}


/****************************************************************************
**
*F CodeIsbList() . . . . . . . . . . . . . . code bound list position check
*/
void CodeIsbList ( void )
void CodeIsbList ( Int narg )
{
Expr ref; /* isbound, result */
Expr list; /* list expression */
Expr pos; /* position expression */
Int i;

/* allocate the isbound */
ref = NewExpr( T_ISB_LIST, 2 * sizeof(Expr) );
ref = NewExpr( T_ISB_LIST, (narg + 1) * sizeof(Expr) );

/* enter the position expression */
pos = PopExpr();
ADDR_EXPR(ref)[1] = pos;
for (i = narg; i > 0; i--) {
pos = PopExpr();
ADDR_EXPR(ref)[i] = pos;
}

/* enter the list expression */
list = PopExpr();
Expand Down
20 changes: 13 additions & 7 deletions src/code.h
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,12 @@ Obj FILENAME_STAT(Stat stat);
#define T_FLOAT_EXPR_EAGER (FIRST_EXPR_TNUM+82)
#define T_FLOAT_EXPR_LAZY (FIRST_EXPR_TNUM+83)

#define LAST_EXPR_TNUM T_FLOAT_EXPR_LAZY
#define T_ELM2_LIST (FIRST_EXPR_TNUM+84)
#define T_ELMX_LIST (FIRST_EXPR_TNUM+85)
#define T_ASS2_LIST (FIRST_EXPR_TNUM+86)
#define T_ASSX_LIST (FIRST_EXPR_TNUM+87)

#define LAST_EXPR_TNUM T_ASSX_LIST


/****************************************************************************
Expand Down Expand Up @@ -1153,17 +1158,17 @@ extern void CodeIsbGVar (
*F CodeAssListLevel(<level>) . . . . . . . code assignment to several lists
*F CodeAsssListLevel(<level>) . . code multiple assignment to several lists
*/
extern void CodeAssList ( void );
extern void CodeAssList ( Int narg );

extern void CodeAsssList ( void );

extern void CodeAssListLevel (
extern void CodeAssListLevel ( Int narg,
UInt level );

extern void CodeAsssListLevel (
UInt level );

extern void CodeUnbList ( void );
extern void CodeUnbList ( Int narg );


/****************************************************************************
Expand All @@ -1173,17 +1178,18 @@ extern void CodeUnbList ( void );
*F CodeElmListLevel(<level>) . . . . . . . . code selection of several lists
*F CodeElmsListLevel(<level>) . . code multiple selection of several lists
*/
extern void CodeElmList ( void );
extern void CodeElmList ( Int narg );

extern void CodeElmsList ( void );

extern void CodeElmListLevel (
UInt level );
Int narg,
UInt level);

extern void CodeElmsListLevel (
UInt level );

extern void CodeIsbList ( void );
extern void CodeIsbList ( Int narg );


/****************************************************************************
Expand Down
Loading