protopopov1122 / kefir

C17 compiler implementation from scratch
64 stars 2 forks source link

Change macro argument substitution order to avoid # and ## operator parameter expansion #2

Closed protopopov1122 closed 2 years ago

protopopov1122 commented 2 years ago

Change macro argument substitution order to avoid # and ## operator parameter expansion. Fixes github issue #1 and incompatibility with sections 6.10.3.1.1 and 6.10.3.3.2-3 of C17 language standard.