Ver a proveniência

Handle line continuations with CRLF endings

pull/38/head
Max Brunsfeld há 6 anos
ascendente
cometimento
b6ff8fbdaf
3 ficheiros alterados com 2438 adições e 2380 eliminações
  1. +1
    -1
      grammar.js
  2. +1
    -1
      src/grammar.json
  3. +2436
    -2378
      src/parser.c

+ 1
- 1
grammar.js Ver ficheiro

@ -25,7 +25,7 @@ module.exports = grammar({
name: 'c',
extras: $ => [
/\s|\\\n/,
/\s|\\\r?\n/,
$.comment,
],

+ 1
- 1
src/grammar.json Ver ficheiro

@ -6096,7 +6096,7 @@
"extras": [
{
"type": "PATTERN",
"value": "\\s|\\\\\\n"
"value": "\\s|\\\\\\r?\\n"
},
{
"type": "SYMBOL",

+ 2436
- 2378
src/parser.c
A apresentação das diferenças no ficheiro foi suprimida por ser demasiado grande
Ver ficheiro


Carregando…
Cancelar
Guardar