• simon qian's avatar
    SVF: all content between parentheses is one parameter · 33fc60be
    simon qian authored
    
    
    More SVF fixes:
    
     * Treat all content between parentheses as part of the same
       parameter; don't (wrongly) treat whitespace as a delimiter.
    
     * Use isspace() to catch that whitespace; it's not all single
       spaces, newlines etc are also valid.
    
     * When parsing bitstrings, strip leading whitespace too.
    
    So for example, these are equivalent and should (now) be OK:
    
      "TDI( 1234 )"
      "TDI( 1 2 3 4 )"
      "TDI(00 12 34 )"
      "TDI(
      	00 12
    	34)"
    
    [dbrownell@users.sourceforge.net: comment updates; trivial cleanup]
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    33fc60be