Changeset 3365


Ignore:
Timestamp:
Oct 13, 2012, 1:08:50 AM (2 years ago)
Author:
wmb
Message:

Libertas WLAN driver - changed "0 [if]" to "[ifdef] notdef" because the former doesn't
work the way you think when tokenizing FCode. The problem is that the tokenizer
emits an FCode for the "0", so the compile-time "[if]" doesn't see a number on the stack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dev/libertas.fth

    r3363 r3365  
    794794; 
    795795 
    796 0 [if] 
     796[ifdef] notdef 
    797797: reg-access!  ( n reg cmd -- ) 
    798798   8 swap prepare-cmd 
     
    813813   19 ( CMD_MAC_REG_ACCESS ) reg-access@ 
    814814; 
    815 0 [if] 
     815[ifdef] notdef 
    816816: bbp-reg!  ( n reg -- ) 
    817817   1a ( CMD_BBP_REG_ACCESS ) reg-access! 
Note: See TracChangeset for help on using the changeset viewer.