ソースを参照

Handle line continuations with CRLF endings

pull/38/head
Max Brunsfeld 6年前
コミット
b6ff8fbdaf
3個のファイルの変更2438行の追加2380行の削除
  1. +1
    -1
      grammar.js
  2. +1
    -1
      src/grammar.json
  3. +2436
    -2378
      src/parser.c

+ 1
- 1
grammar.js ファイルの表示

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

+ 1
- 1
src/grammar.json ファイルの表示

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

+ 2436
- 2378
src/parser.c
ファイル差分が大きすぎるため省略します
ファイルの表示


読み込み中…
キャンセル
保存