3
#define
안에있는 Visual Studio의 C 코드에 대한 중단 점을 설정하는 방법이 있습니까? 중단 점을 설정하면 도달하지 못하고 나머지 코드는 계속 실행됩니다. 예를 들면 다음과 같습니다.Visual Studio에서 매크로에 중단 점 설정
#define YY_USER_ACTION sn_yylloc.first_line = sn_yylloc.last_line =sn_yylineno; \
sn_yylloc.first_column = sn_yycolumn; \
sn_yylloc.last_column = sn_yycolumn + sn_yyleng -1; \
sn_yycolumn += sn_yyleng;
코드는 Flex에서 생성되는 렉서이지만 실제로는 중요하지 않습니다.