|
|
@ -1,7 +1,7 @@ |
|
|
|
@{ |
|
|
|
newObject(type, fields) { fields.__proto__ = type; fields } |
|
|
|
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 } } |
|
|
|
newToken(text) { { __proto__: Token, text: text } } |
|
|
|
comma = newToken(","); |
|
|
|