Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.266
 
1.267
 
MAIN:ragge:20110111124823
 
reader.c
_>16021602 int
 16031603 xasmcode(char *s)
 16041604 {
<>1605 -        int cw = 0;
  1605+        int cw = 0, nm = 0;
16061606 
 16071607         while (*s) {
 16081608                 switch ((int)*s) {
     
 !
16131613                         if ((*s >= 'a' && *s <= 'z') ||
 16141614                             (*s >= 'A' && *s <= 'Z') ||
 16151615                             (*s >= '0' && *s <= '9')) {
<>1616 -                                cw |= *s;
 1617 -                                return cw;
  1616+                                if (nm == 0)
  1617+                                        cw |= *s;
  1618+                                else
  1619+                                        cw |= (*s << ((nm + 1) * 8));
  1620+                                nm++;
  1621+                                break;
<_16181622                         }
 16191623                         uerror("bad xasm constraint %c", *s);
 16201624                 }
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-10-31 00:20 +0100