Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / src / Expression.h
diff options
context:
space:
mode:
Commitb4a6c3d467682d9e0bb73637b9b80a2641a62970 (patch)
Author
 martin dobrev <martindobrev0@gmail.com>
2020-10-29 23:12:30 +0200
Committer
 martin dobrev <martindobrev0@gmail.com>
2020-10-29 23:12:30 +0200
Files1dbb31dace88a39ea215b611e4a9ffa3cbe57388 /JSImpl/src/Expression.h
IPL-b4a6c3d467682d9e0bb73637b9b80a2641a62970.tar
IPL-b4a6c3d467682d9e0bb73637b9b80a2641a62970.tar.gz
IPL-b4a6c3d467682d9e0bb73637b9b80a2641a62970.zip
Parentb4bb5eb1affcf1bebc779fbfba92cbdf7fe38c8d (diff)
Add support for Object literals in the Parser.
1 files changed, 1 insertions, 1 deletions
-rw-r--r--JSImpl/src/Expression.h2
diff --git a/JSImpl/src/Expression.h b/JSImpl/src/Expression.h
index 3fa7b90..333568f 100644
--- a/JSImpl/src/Expression.h
+++ b/JSImpl/src/Expression.h
@@ -20,7 +20,7 @@ class Expression : public IPLEnableShared<Expression>
};
#define EXPAND_ARGUMENT(type, name, def)\
- type name = def,
+ const type& name = def,
#define EXPAND_INITIALIZER_LIST(type, name, def)\
m_##name(name),