protobuf.js
protobuf.js copied to clipboard
illegal token '*'
protobuf.js version:
// comments
/**
* another comments
**/
if the code is :
// comments
/**
* another comments
**/
it will be OK
I'm having the same problem
node v16.14.0 protobufjs v6.11.2 window11
I'm having the same problem
node v16.14.0 protobufjs v6.11.2 window11
protobuf.parse('test.proto', { keepCase: true, alternateCommentMode: true, preferTrailingComment: true, });
I'm having the same problem
I also encountered this. The minimum repro case is to enable alternateCommentMode
and attempt to parse this:
//
/*
*/