Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.177
 
1.178
 
MAIN:ragge:20071220164448
 
trees.c
_>12961296         return(p);
 12971297         }
 12981298 
<>1299 -int
 1300 -icons(p) register NODE *p; {
  1299+/*
  1300+ * Return the constant value from an ICON.
  1301+ */
  1302+CONSZ
  1303+icons(NODE *p)
  1304+{
13011305         /* if p is an integer constant, return its value */
<>1302 -        int val;
  1306+        CONSZ val;
13031307 
<>1304 -        if( p->n_op != ICON ){
  1308+        if (p->n_op != ICON || p->n_sp != NULL) {
13051309                 uerror( "constant expected");
 13061310                 val = 1;
<>1307 -                }
 1308 -        else {
  1311+        } else
13091312                 val = p->n_lval;
<>1310 -                if( val != p->n_lval ) uerror( "constant too big for cross-compiler" );
 1311 -                }
 1312 -        tfree( p );
  1313+        tfree(p);
<_13131314         return(val);
 13141315 }
 13151316 
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-21 18:04 +0200