Loading src/defargs.l +29 −0 Original line number Diff line number Diff line Loading @@ -212,6 +212,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" else // yytext=='<' { g_argSharpCount=0; g_argRoundCount=0; BEGIN( CopyArgSharp ); } } Loading Loading @@ -239,6 +240,26 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" if (g_argRoundCount>0) g_argRoundCount--; else BEGIN( g_readArgContext ); } <CopyArgSharp>"<<" { if (g_argRoundCount>0) { *g_copyArgValue += yytext; } else { REJECT; } } <CopyArgSharp>">>" { if (g_argRoundCount>0) { *g_copyArgValue += yytext; } else { REJECT; } } <CopyArgSharp>"<" { g_argSharpCount++; *g_copyArgValue += *yytext; Loading @@ -248,6 +269,14 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" if (g_argSharpCount>0) g_argSharpCount--; else BEGIN( g_readArgContext ); } <CopyArgSharp>"(" { g_argRoundCount++; *g_copyArgValue += *yytext; } <CopyArgSharp>")" { g_argRoundCount--; *g_copyArgValue += *yytext; } <CopyArgCurly>"{" { g_argCurlyCount++; *g_copyArgValue += *yytext; Loading src/scanner.l +7 −0 Original line number Diff line number Diff line Loading @@ -4437,6 +4437,13 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) else BEGIN( lastCopyArgContext ); } <CopyArgSharp>"(" { *copyArgString+=*yytext; fullArgString+=*yytext; argRoundCount=0; lastCopyArgContext = YY_START; BEGIN( CopyArgRound ); } <CopyArgSharp>"<" { argSharpCount++; //printf("argSharpCount++=%d copy\n",argSharpCount); Loading Loading
src/defargs.l +29 −0 Original line number Diff line number Diff line Loading @@ -212,6 +212,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" else // yytext=='<' { g_argSharpCount=0; g_argRoundCount=0; BEGIN( CopyArgSharp ); } } Loading Loading @@ -239,6 +240,26 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" if (g_argRoundCount>0) g_argRoundCount--; else BEGIN( g_readArgContext ); } <CopyArgSharp>"<<" { if (g_argRoundCount>0) { *g_copyArgValue += yytext; } else { REJECT; } } <CopyArgSharp>">>" { if (g_argRoundCount>0) { *g_copyArgValue += yytext; } else { REJECT; } } <CopyArgSharp>"<" { g_argSharpCount++; *g_copyArgValue += *yytext; Loading @@ -248,6 +269,14 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" if (g_argSharpCount>0) g_argSharpCount--; else BEGIN( g_readArgContext ); } <CopyArgSharp>"(" { g_argRoundCount++; *g_copyArgValue += *yytext; } <CopyArgSharp>")" { g_argRoundCount--; *g_copyArgValue += *yytext; } <CopyArgCurly>"{" { g_argCurlyCount++; *g_copyArgValue += *yytext; Loading
src/scanner.l +7 −0 Original line number Diff line number Diff line Loading @@ -4437,6 +4437,13 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) else BEGIN( lastCopyArgContext ); } <CopyArgSharp>"(" { *copyArgString+=*yytext; fullArgString+=*yytext; argRoundCount=0; lastCopyArgContext = YY_START; BEGIN( CopyArgRound ); } <CopyArgSharp>"<" { argSharpCount++; //printf("argSharpCount++=%d copy\n",argSharpCount); Loading