Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing comma before optional parameters gives wrong result #26

Open
t-b opened this issue Mar 23, 2023 · 0 comments
Open

Missing comma before optional parameters gives wrong result #26

t-b opened this issue Mar 23, 2023 · 0 comments

Comments

@t-b
Copy link
Member

t-b commented Mar 23, 2023

$ git diff .
diff --git a/test-input.ipf b/test-input.ipf
index 07c0b3a..deac92e 100644
--- a/test-input.ipf
+++ b/test-input.ipf
@@ -99,3 +99,7 @@ Function FooParamStruct(s)
     "J
     ASCII85End
 End
+
+Function Dostuff(variable a [variable b])
+
+End
diff --git a/test-input.output.ref b/test-input.output.ref
index f3e7abe..eaa27e5 100644
--- a/test-input.output.ref
+++ b/test-input.output.ref
@@ -100,3 +100,7 @@ static void StaticPic2(){
     // ASCII85End
 };

+variable Dostuff(variable a = defaultValue){
+
+};
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant