Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1503d0f commit 2408962Copy full SHA for 2408962
tsparser.c
@@ -1118,6 +1118,7 @@ static const TParserStateActionItem actionTPS_InWord[] = {
1118
{p_isspecial, 0, A_NEXT, TPS_Null, 0, NULL},
1119
{p_isdigit, 0, A_NEXT, TPS_InNumWord, 0, NULL},
1120
{p_iseqC, '-', A_PUSH, TPS_InHyphenWordFirst, 0, NULL},
1121
+ {p_iseqC, '_', A_PUSH, TPS_InHyphenWordFirst, 0, NULL},
1122
{NULL, 0, A_BINGO, TPS_Base, WORD_T, NULL}
1123
};
1124
@@ -1641,6 +1642,7 @@ static const TParserStateActionItem actionTPS_InHyphenNumWord[] = {
1641
1642
{p_isalnum, 0, A_NEXT, TPS_InHyphenNumWord, 0, NULL},
1643
{p_isspecial, 0, A_NEXT, TPS_InHyphenNumWord, 0, NULL},
1644
{p_iseqC, '-', A_PUSH, TPS_InHyphenNumWordFirst, 0, NULL},
1645
+ {p_iseqC, '_', A_PUSH, TPS_InHyphenNumWordFirst, 0, NULL},
1646
{NULL, 0, A_BINGO | A_CLRALL, TPS_InParseHyphen, NUMHWORD, SpecialHyphen}
1647
1648
0 commit comments