ChrisDodd / btyacc

Backtracking yacc
17 stars 5 forks source link

Mark functions that do not return. #11

Open elfring opened 8 years ago

elfring commented 8 years ago

I suggest to use the function specifier "_Noreturn" (or a similar function attribute/annotation) at some source code places.

zosrothko commented 8 years ago

noreturn is a better syntax and should be defined as a macro to manage C and C++ targets.