jyn514 / saltwater

A C compiler written in Rust, with a focus on good error messages.
BSD 3-Clause "New" or "Revised" License
293 stars 27 forks source link

Close #506: Implement preprocessor concatenation #510

Open hdamron17 opened 4 years ago

hdamron17 commented 4 years ago

Will close #506. So far I have collected the tokens before and after ## and passed them to a concat function. Now I just need to figure out how to concatenate them.

hdamron17 commented 4 years ago

Also, I'm probably not working with replacements and pending properly in replace().

hdamron17 commented 4 years ago

I'm assuming you'll want more tests...