Define yy_current_buffer for backward compatibility.

This commit is contained in:
jkim 2013-05-21 19:21:26 +00:00
parent 76b51e80cb
commit 042b47f82d

View File

@ -638,6 +638,7 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
#define YY_CURRENT_BUFFER ( YY_G(yy_buffer_stack) \
? YY_G(yy_buffer_stack)[YY_G(yy_buffer_stack_top)] \
: NULL)
#define yy_current_buffer YY_CURRENT_BUFFER
]])
m4_ifdef( [[M4_YY_NOT_IN_HEADER]],