Commit 3630fe5
committed
Fix last parameter count
While parsing, last parameter was not always count. e.g. with Parser.ino example:
* getParamCount() on "START \"Hallo world\" sensor" should return 3 but was returning 2
* getParamCount() on "START \"Hallo world\" sensor " (note: space at eol) will return 3 as expected
This commit fixes this behaviour and always count the last parameter.1 parent 8d387f5 commit 3630fe5
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
0 commit comments