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 85eb55d commit fc2912fCopy full SHA for fc2912f
src/pyscanner.l
@@ -753,7 +753,18 @@ ID [a-z_A-Z%]+{IDSYM}*
753
}
754
755
<FunctionParams>{
756
- ({BB}|",") {
+ {BB} {
757
+ }
758
+
759
+ "," {
760
+ if (!yyextra->argType.isEmpty())
761
+ {
762
+ Argument a;
763
+ a.name = "";
764
+ a.type = yyextra->argType;
765
+ yyextra->current->argList.push_back(a);
766
+ yyextra->argType = "";
767
768
769
770
[\*]+ {
@@ -775,6 +786,14 @@ ID [a-z_A-Z%]+{IDSYM}*
775
786
BEGIN(FunctionParamDefVal);
776
787
777
788
")" {
789
790
791
792
793
794
795
796
778
797
unput(*yytext);
779
798
BEGIN(FunctionDec);
780
799
0 commit comments