Subversion Repositories filter_foundry

Rev

Rev 288 | Rev 532 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 288 Rev 301
Line 93... Line 93...
93
                        switch(root->kind){
93
                        switch(root->kind){
94
                        case TOK_NUM:
94
                        case TOK_NUM:
95
                                #ifdef FP_VALUE
95
                                #ifdef FP_VALUE
96
                                printf("constant: %g\n",root->v.value);
96
                                printf("constant: %g\n",root->v.value);
97
                                #else
97
                                #else
98
                                printf("constant: %ld\n",root->v.value);
98
                                printf("constant: %d\n",root->v.value);
99
                                #endif
99
                                #endif
100
                                break;
100
                                break;
101
                        case TOK_SPECIALVAR:
101
                        case TOK_SPECIALVAR:
102
                                printf("special variable: %c\n",root->v.specialvar);
102
                                printf("special variable: %c\n",root->v.specialvar);
103
                                break;
103
                                break;
104
                        case TOK_VAR:
104
                        case TOK_VAR:
105
                                #ifdef FP_VALUE
105
                                #ifdef FP_VALUE
106
                                printf("variable: %s (%g)\n",root->v.sym->name,*root->v.sym->pvar);
106
                                printf("variable: %s (%g)\n",root->v.sym->name,*root->v.sym->pvar);
107
                                #else
107
                                #else
108
                                printf("variable: %s (%ld)\n",root->v.sym->name,*root->v.sym->pvar);
108
                                printf("variable: %s (%d)\n",root->v.sym->name,*root->v.sym->pvar);
109
                                #endif
109
                                #endif
110
                                break;
110
                                break;
111
                        case TOK_FN1:
111
                        case TOK_FN1:
112
                        case TOK_FN2:
112
                        case TOK_FN2:
113
                        case TOK_FN3:
113
                        case TOK_FN3: