Browse Source

Treat '@' as a comment. Fixes #20

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
60eaad35bf
  1. 2
      etc/config/c++.lud-mgodbolt01.properties
  2. 3
      static/asm-mode.js

2
etc/config/c++.lud-mgodbolt01.properties

@ -1,6 +1,6 @@
# Default settings for GCC Explorer.
defaultCompiler=g52
compilers=/usr/bin/g++:g44:g45:g46:clang35:g51:g52:gdef:msp430g453:cl:tcc
compilers=/usr/bin/g++:g44:g45:g46:clang35:g51:g52:gdef:msp430g453:cl:tcc:/usr/bin/arm-linux-gnueabi-g++
#compilers=&gcc:&clang:&windows
group.gcc.compilers=gdef:g62
compiler.gdef.exe=/usr/bin/g++

3
static/asm-mode.js

@ -112,7 +112,8 @@ define(function (require) {
[/[ \t\r\n]+/, 'white'],
[/\/\*/, 'comment', '@comment'],
[/\/\/.*$/, 'comment'],
[/#.*$/, 'comment']
[/#.*$/, 'comment'],
[/@.*$/, 'comment']
]
}
};

Loading…
Cancel
Save