mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 17:47:31 -06:00
Treat '@' as a comment. Fixes #20
This commit is contained in:
@@ -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
@@ -112,7 +112,8 @@ define(function (require) {
|
||||
[/[ \t\r\n]+/, 'white'],
|
||||
[/\/\*/, 'comment', '@comment'],
|
||||
[/\/\/.*$/, 'comment'],
|
||||
[/#.*$/, 'comment']
|
||||
[/#.*$/, 'comment'],
|
||||
[/@.*$/, 'comment']
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user