Use ; as comments indicator in i18n files
This commit is contained in:
parent
4053ab2dfa
commit
8a23c2ff50
|
@ -131,7 +131,7 @@ document.webL10n = (function(window, document, undefined) {
|
||||||
|
|
||||||
// token expressions
|
// token expressions
|
||||||
var reBlank = /^\s*|\s*$/;
|
var reBlank = /^\s*|\s*$/;
|
||||||
var reComment = /^\s*#|^\s*$/;
|
var reComment = /^\s*;|^\s*$/;// Use ; for comments!
|
||||||
var reSection = /^\s*\[(.*)\]\s*$/;
|
var reSection = /^\s*\[(.*)\]\s*$/;
|
||||||
var reImport = /^\s*@import\s+url\((.*)\)\s*$/i;
|
var reImport = /^\s*@import\s+url\((.*)\)\s*$/i;
|
||||||
var reSplit = /^([^=\s]*)\s*=\s*(.+)$/; // TODO: escape EOLs with '\'
|
var reSplit = /^([^=\s]*)\s*=\s*(.+)$/; // TODO: escape EOLs with '\'
|
||||||
|
|
Loading…
Reference in New Issue