Przeglądaj źródła

Fix problem on C_stringLiteral for test 001

develop-theo
Sebeck10 2 lat temu
rodzic
commit
d63cda4774
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      tests-parsimony/001.c

+ 1
- 1
tests-parsimony/001.c Wyświetl plik

@ -1,7 +1,7 @@
@{ @{
newObject(type, fields) { fields.__proto__ = type; fields } newObject(type, fields) { fields.__proto__ = type; fields }
newCint(text) { newObject(C_int, { text: text }) } newCint(text) { newObject(C_int, { text: text }) }
newCstring(text) { newObject(C_string, { text: "\""+text+"\"" }) }
newCstring(text) { newObject(C_stringLiteral, { text: "\""+text+"\"" }) }
newCinitializer(list) { { __proto__: C_initializer, leftCurly: lcurly, initList: list, rightCurly: rcurly } } newCinitializer(list) { { __proto__: C_initializer, leftCurly: lcurly, initList: list, rightCurly: rcurly } }
newToken(text) { { __proto__: Token, text: text } } newToken(text) { { __proto__: Token, text: text } }
comma = newToken(","); comma = newToken(",");

Ładowanie…
Anuluj
Zapisz