We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ceb5ee commit 1446d22Copy full SHA for 1446d22
src/parseTools.js
@@ -462,7 +462,7 @@ function parseParamTokens(params) {
462
// handle 'byval' and 'byval align X'. We store the alignment in 'byVal'
463
byVal = QUANTUM_SIZE;
464
segment.splice(1, 1);
465
- if (segment[1] && segment[1].text === 'nocapture') {
+ if (segment[1] && (segment[1].text === 'nocapture' || segment[1].text === 'readonly')) {
466
467
}
468
if (segment[1] && segment[1].text === 'align') {
@@ -471,7 +471,7 @@ function parseParamTokens(params) {
471
segment.splice(1, 2);
472
473
474
475
476
477
if (segment.length == 1) {
0 commit comments