Skip to content

Commit c5f6faa

Browse files
committed
tmp: fix: hacky impl
1 parent c70a85f commit c5f6faa

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

sources/module.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,14 @@ Error2:;
502502
AR.PolyFunExp = 0;
503503
AC.PolyRatFunChanged = 1;
504504
*t = c;
505-
if ( *t == '+' ) {
505+
if ( *t == '+' || *t == ',' ) {
506+
if ( *t == ',' ) {
507+
/*
508+
* Somehow "+" is not checked by CoModuleOption, and the word
509+
* after "+" is ignored. We take advantage of this.
510+
*/
511+
*t = '+';
512+
}
506513
t++; s = t;
507514
t = EndOfToken(s);
508515
c = *t; *t = 0;

0 commit comments

Comments
 (0)