Differences From Artifact [3ce0307661]:
- File class.c — part of check-in [c343f9952a] at 2021-05-24 05:06:10 on branch trunk — Implement the {edit} macro. (user: user, size: 75505) [annotate] [blame] [check-ins using]
To Artifact [85b9587edc]:
- File class.c — part of check-in [a9cc459c7a] at 2021-05-26 05:03:53 on branch trunk — Implement the \d escape for embedding data in strings. The ability to use this data is not implemented yet. (user: user, size: 75557) [annotate] [blame] [check-ins using]
| ︙ | |||
199 200 201 202 203 204 205 206 207 208 209 210 211 212 | 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | + |
isimg=0;
tokenstr[i++]=c;
} else switch(c=fgetc(classfp)) {
case '"': case '\\': tokenstr[i++]=c; break;
case '0' ... '7': tokenstr[i++]=c+1-'0'; break;
case 'b': tokenstr[i++]=15; break;
case 'c': tokenstr[i++]=12; break;
case 'd': tokenstr[i++]=30; isimg=1; break;
case 'i': tokenstr[i++]=14; isimg=1; break;
case 'l': tokenstr[i++]=11; break;
case 'n': tokenstr[i++]=10; break;
case 'q': tokenstr[i++]=16; break;
case 'x':
c=fgetc(classfp);
if(c>='0' && c<='9') n=c-'0';
|
| ︙ |