Fix values of properties that reference intrinsic function objects (#4024)
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai daniel.batyai@h-lab.eu
This commit is contained in:
@@ -127,11 +127,11 @@ def extract_magic_string_refs(debug=False):
|
||||
guard_stack.append([process_guard(if_match.group(1))])
|
||||
elif elif_match is not None:
|
||||
guards = guard_stack[-1]
|
||||
guards[-1] = '!(%s)' % guards[-1]
|
||||
guards[-1] = '!(%s)' % guards[-1].strip()
|
||||
guards.append(process_guard(elif_match.group(1)))
|
||||
elif else_match is not None:
|
||||
guards = guard_stack[-1]
|
||||
guards[-1] = '!(%s)' % guards[-1]
|
||||
guards[-1] = '!(%s)' % guards[-1].strip()
|
||||
elif endif_match is not None:
|
||||
guard_stack.pop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user