Commit 9419211
Thomas Kiley
Expand the error message for function with array but without size parameter
The error was a bit cryptic as to what it means, now tells the user
exactly which function has a parameter that has been labelled as an
array, but is missing the size parameter. Now produces:
Invalid User Input
Option: --associated-array-size
Reason: could not find parameter to associate the array size of array
"arr" (Expected parameter: "siz" on function "test2" in file example.c
line 9)1 parent cf60c2a commit 9419211
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
512 | 516 | | |
513 | 517 | | |
514 | 518 | | |
| |||
0 commit comments