Lines 1-6
Link Here
|
1 |
--- dictionary.c.orig 2010-09-12 15:14:52 UTC |
1 |
--- dictionary.c.orig 2010-09-12 15:14:52 UTC |
2 |
+++ dictionary.c |
2 |
+++ dictionary.c |
3 |
@@ -662,7 +662,7 @@ void ficlDictionarySee(ficlDictionary *d |
3 |
@@ -199,7 +199,7 @@ char *ficlDictionaryAppendString(ficlDictionary *dicti |
|
|
4 |
if (length > FICL_NAME_LENGTH) |
5 |
length = FICL_NAME_LENGTH; |
6 |
|
7 |
- return ficlDictionaryAppendData(dictionary, data, length); |
8 |
+ return ficlDictionaryAppendData(dictionary, data, length); |
9 |
} |
10 |
|
11 |
|
12 |
@@ -542,7 +542,7 @@ int ficlDictionaryIsAWord(ficlDictionary *dictionary, |
13 |
if (!ficlDictionaryIncludes(dictionary, word->name)) |
14 |
return 0; |
15 |
|
16 |
- if ((word->link != NULL) && !ficlDictionaryIncludes(dictionary, word->link)) |
17 |
+ if ((word->link != NULL) && !ficlDictionaryIncludes(dictionary, word->link)) |
18 |
return 0; |
19 |
|
20 |
if ((word->length <= 0) || (word->name[word->length] != '\0')) |
21 |
@@ -662,7 +662,7 @@ void ficlDictionarySee(ficlDictionary *dictionary, fic |
4 |
*trace++ = '>'; |
22 |
*trace++ = '>'; |
5 |
else |
23 |
else |
6 |
*trace++ = ' '; |
24 |
*trace++ = ' '; |
Lines 9-15
Link Here
|
9 |
|
27 |
|
10 |
if (ficlDictionaryIsAWord(dictionary, word)) |
28 |
if (ficlDictionaryIsAWord(dictionary, word)) |
11 |
{ |
29 |
{ |
12 |
@@ -676,7 +676,7 @@ void ficlDictionarySee(ficlDictionary *d |
30 |
@@ -676,7 +676,7 @@ void ficlDictionarySee(ficlDictionary *dictionary, fic |
13 |
break; |
31 |
break; |
14 |
case FICL_WORDKIND_INSTRUCTION_WITH_ARGUMENT: |
32 |
case FICL_WORDKIND_INSTRUCTION_WITH_ARGUMENT: |
15 |
c = *++cell; |
33 |
c = *++cell; |
Lines 18-24
Link Here
|
18 |
break; |
36 |
break; |
19 |
case FICL_WORDKIND_INSTRUCTION_WORD: |
37 |
case FICL_WORDKIND_INSTRUCTION_WORD: |
20 |
sprintf(trace, "%s :: executes %s (instruction word %ld)", word->name, ficlDictionaryInstructionNames[(long)word->code], (long)word->code); |
38 |
sprintf(trace, "%s :: executes %s (instruction word %ld)", word->name, ficlDictionaryInstructionNames[(long)word->code], (long)word->code); |
21 |
@@ -687,20 +687,20 @@ void ficlDictionarySee(ficlDictionary *d |
39 |
@@ -687,20 +687,20 @@ void ficlDictionarySee(ficlDictionary *dictionary, fic |
22 |
{ |
40 |
{ |
23 |
ficlWord *word = (ficlWord *)c.p; |
41 |
ficlWord *word = (ficlWord *)c.p; |
24 |
sprintf(trace, "%.*s ( %#lx literal )", |
42 |
sprintf(trace, "%.*s ( %#lx literal )", |
Lines 43-49
Link Here
|
43 |
break; |
61 |
break; |
44 |
#endif /* FICL_WANT_FLOAT */ |
62 |
#endif /* FICL_WANT_FLOAT */ |
45 |
case FICL_WORDKIND_STRING_LITERAL: |
63 |
case FICL_WORDKIND_STRING_LITERAL: |
46 |
@@ -719,32 +719,32 @@ void ficlDictionarySee(ficlDictionary *d |
64 |
@@ -719,32 +719,32 @@ void ficlDictionarySee(ficlDictionary *dictionary, fic |
47 |
break; |
65 |
break; |
48 |
case FICL_WORDKIND_BRANCH0: |
66 |
case FICL_WORDKIND_BRANCH0: |
49 |
c = *++cell; |
67 |
c = *++cell; |
Lines 83-89
Link Here
|
83 |
break; |
101 |
break; |
84 |
default: |
102 |
default: |
85 |
sprintf(trace, "%.*s", word->length, word->name); |
103 |
sprintf(trace, "%.*s", word->length, word->name); |
86 |
@@ -754,7 +754,7 @@ void ficlDictionarySee(ficlDictionary *d |
104 |
@@ -754,7 +754,7 @@ void ficlDictionarySee(ficlDictionary *dictionary, fic |
87 |
} |
105 |
} |
88 |
else /* probably not a word - punt and print value */ |
106 |
else /* probably not a word - punt and print value */ |
89 |
{ |
107 |
{ |