소스 검색

Fix malformed test that wasn't being run

pull/2/head
Max Brunsfeld 10 년 전
부모
커밋
c57b5a58f2
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. +0
    -1
      grammar.js
  2. +2
    -2
      grammar_test/statements.txt

+ 0
- 1
grammar.js 파일 보기

@ -30,7 +30,6 @@ module.exports = grammar({
conflicts: $ => [
[$._type_specifier, $._expression],
[$._type_specifier, $.direct_declarator],
[$.sizeof_expression, $.cast_expression],
],

+ 2
- 2
grammar_test/statements.txt 파일 보기

@ -74,12 +74,12 @@ int main() {
printf("hi");
}
---
---
(translation_unit
(function_definition
(identifier)
(direct_declarator (identifier))
(function_declarator (identifier))
(compound_statement
(while_statement (identifier)
(expression_statement (call_expression (identifier) (string_literal)))))))

불러오는 중...
취소
저장