Overview
| Comment: | Fix the implementation of ranges in (DefaultImage) block |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
ffe428f969a0a63629d698fc70c8e8fe |
| User & Date: | user on 2022-08-19 06:05:43.031 |
| Other Links: | manifest | tags |
Context
|
2022-08-30
| ||
| 22:12 | Add a "S" column to the "GRAPH" SQL table in the picture editor. The example ALT+M macro uses this to automatically apply horizontal mirror symmetry to a picture. check-in: bb9043ee13 user: user tags: trunk | |
|
2022-08-19
| ||
| 06:05 | Fix the implementation of ranges in (DefaultImage) block check-in: ffe428f969 user: user tags: trunk | |
|
2022-08-17
| ||
| 21:34 | Minor documentation improvements. check-in: c8617a4932 user: user tags: trunk | |
Changes
Modified class.c
from [2a869824f7]
to [69d6373aa3].
| ︙ | ︙ | |||
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 |
if(tokenv<0 || tokenv>=cl->nimages) ParseError("Image number out of range\n");
i=tokenv;
nxttok();
if(tokent!=TF_INT) ParseError("Number expected\n");
if(tokenv<i) ParseError("Backward range in (DefaultImage) block\n");
if(tokenv>=cl->nimages) ParseError("Image number out of range\n");
while(i<=tokenv) cl->images[i++]|=0x8000;
} else if(tokent!=TF_CLOSE) {
ParseError("Number expected\n");
}
} else if(tokent==TF_CLOSE) {
break;
} else if(tokent==TF_INT) {
if(tokenv<0 || tokenv>=cl->nimages) ParseError("Image number out of range\n");
| > > | 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 |
if(tokenv<0 || tokenv>=cl->nimages) ParseError("Image number out of range\n");
i=tokenv;
nxttok();
if(tokent!=TF_INT) ParseError("Number expected\n");
if(tokenv<i) ParseError("Backward range in (DefaultImage) block\n");
if(tokenv>=cl->nimages) ParseError("Image number out of range\n");
while(i<=tokenv) cl->images[i++]|=0x8000;
nxttok();
if(tokent!=TF_CLOSE) ParseError("Close parenthesis expected\n");
} else if(tokent!=TF_CLOSE) {
ParseError("Number expected\n");
}
} else if(tokent==TF_CLOSE) {
break;
} else if(tokent==TF_INT) {
if(tokenv<0 || tokenv>=cl->nimages) ParseError("Image number out of range\n");
|
| ︙ | ︙ |