Treat '@' as a comment. Fixes #20

This commit is contained in:
Matt Godbolt
2017-02-12 10:08:15 -06:00
parent 7200be95a7
commit 60eaad35bf
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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++
+2 -1
View File
@@ -112,7 +112,8 @@ define(function (require) {
[/[ \t\r\n]+/, 'white'],
[/\/\*/, 'comment', '@comment'],
[/\/\/.*$/, 'comment'],
[/#.*$/, 'comment']
[/#.*$/, 'comment'],
[/@.*$/, 'comment']
]
}
};