We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fe6f14 commit a44c2aeCopy full SHA for a44c2ae
lib/asm-parser.js
@@ -268,7 +268,7 @@ export class AsmParser extends AsmRegex {
268
// Lines matching the following pattern are considered comments:
269
// - starts with '#', '@', '//' or a single ';' (non repeated)
270
// - starts with ';;' and the first non-whitespace before end of line is not #
271
- const commentOnly = /^\s*(((#|@|\/\/).*)|(\/\*.*\*\/)|(;\s*)|(;[^;].*)|(;;\s*[^#\s].*))$/;
+ const commentOnly = /^\s*(((#|@|\/\/).*)|(\/\*.*\*\/)|(;\s*)|(;[^;].*)|(;;\s*[^\s#].*))$/;
272
273
const commentOnlyNvcc = /^\s*(((#|;|\/\/).*)|(\/\*.*\*\/))$/;
274
const sourceTag = /^\s*\.loc\s+(\d+)\s+(\d+)\s+(.*)/;
0 commit comments