Ostatnio aktywny 1 year ago

mycroft's Avatar mycroft zrewidował ten Gist 1 year ago. Przejdź do rewizji

1 file changed, 22 insertions

gistfile1.txt(stworzono plik)

@@ -0,0 +1,22 @@
1 + /* check for step size
2 + */
3 + if (ch == '/') {
4 + /* eat the slash
5 + */
6 + ch = get_char(file);
7 + if (ch == EOF)
8 + return EOF;
9 +
10 + /* get the step size -- note: we don't pass the
11 + * names here, because the number is not an
12 + * element id, it's a step size. 'low' is
13 + * sent as a 0 since there is no offset either.
14 + */
15 + ch = get_number(&num3, 0, PPC_NULL, ch, file);
16 + if (ch == EOF)
17 + return EOF;
18 + } else {
19 + /* no step. default==1.
20 + */
21 + num3 = 1;
22 + }
Nowsze Starsze