Przeglądaj źródła

Handle line continuations with CRLF endings

pull/38/head
Max Brunsfeld 6 lat temu
rodzic
commit
b6ff8fbdaf
3 zmienionych plików z 2438 dodań i 2380 usunięć
  1. +1
    -1
      grammar.js
  2. +1
    -1
      src/grammar.json
  3. +2436
    -2378
      src/parser.c

+ 1
- 1
grammar.js Wyświetl plik

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

+ 1
- 1
src/grammar.json Wyświetl plik

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

+ 2436
- 2378
src/parser.c
Plik diff jest za duży
Wyświetl plik


Ładowanie…
Anuluj
Zapisz