Skip to content

1.10.0

Choose a tag to compare

@danmar danmar released this 19 Nov 11:03
· 4 commits to master since this release
e5cb618

What's Changed

  • Expand function macros that have arguments at the end by @pfultz2 in #695
  • Fix #709 Do not evaluate #elif after a taken group by @danmar in #710
  • Fix #711 (#if true evaluates to false in C++ and C23) by @danmar in #712
  • Fix #714 (# operator escapes backslashes outside string literals) by @danmar in #715
  • Fix #716 (#if: && and || are evaluated with the same precedence) by @danmar in #717
  • Fix #718 (# operator drops the space that a comment stands for) by @danmar in #719
  • Fix #720 (#if: wrong macro usage for macros defined before the #if) by @danmar in #721
  • Fix #612: reject floating literals in preprocessor conditions by @Abusalah0 in #706
  • Fix #724 (##: valid token pastes are rejected) by @danmar in #725
  • Fix #722 (#if: &&, || and ?: do not short-circuit) by @danmar in #723
  • Fix #726 (#if: ?: treats a zero condition as true unless it is written exactly as 0) by @danmar in #728
  • Fix #727 (#if: two unary operators in a row silently evaluate to false) by @danmar in #730
  • Fix #731 (#if: an operator with a missing operand silently evaluates to false) by @danmar in #732
  • Fix #729 (#if: not and compl are only recognized at the start of an expression or after () by @danmar in #733
  • Fix #735 (Refactoring: split TokenList::readfile() into smaller functions) by @danmar in #736
  • Fix #737 (Refactoring: separate the cppcheck-specific &= handling from TokenList::combineOperators()) by @danmar in #738
  • Fix #739 (Add a lookahead buffer to TokenList::Stream) by @danmar in #740
  • Fix #744 (Add regression tests for macro expansion) by @danmar in #745
  • Fix #746 (Split expandHashHash and expandHash into check and build helpers) by @danmar in #747
  • Fix #748 (Move the argument count check into Macro::getMacroParameters()) by @danmar in #749
  • Fix #750 (Extract expandBuiltin, expandDefined and copyMacroCall) by @danmar in #751
  • Add TokenList::setLocation() for setting the location of all tokens by @danmar in #753
  • hash: keep the space after an operator of two characters by @danmar in #755
  • Fix #756 (##: pasting a name or number with a string or character literal is an error) by @danmar in #757
  • Rescan substituted macro arguments so deferred calls expand like gcc by @pfultz2 in #713
  • Fix #760 (record argument for integer constant macros) by @danmar in #761

New Contributors

Full Changelog: 1.9.1...1.10.0