Parcourir la source

Handle line continuations with CRLF endings

pull/38/head
Max Brunsfeld il y a 6 ans
Parent
révision
b6ff8fbdaf
3 fichiers modifiés avec 2438 ajouts et 2380 suppressions
  1. +1
    -1
      grammar.js
  2. +1
    -1
      src/grammar.json
  3. +2436
    -2378
      src/parser.c

+ 1
- 1
grammar.js Voir le fichier

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

+ 1
- 1
src/grammar.json Voir le fichier

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

+ 2436
- 2378
src/parser.c
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


Chargement…
Annuler
Enregistrer