Project

General

Profile

Actions

Bug #3657

closed

{ } curly brackets is not always parsed correctly

Added by westor (GR) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
07/31/2017
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

There is an odd bug, If you create an file and place the below code and execute the $isalias() to check if that alias exist it returns $false for an unknown reason.

Example Code: (Full code url: http://www.mpaste.com/p/EorVuOi)


alias test1 { return 1 }

alias -l jfm_jscript {
  jfm_badd $1 H.prototype={  
}

alias test2 { return 2 }

When executing : //echo a IS: $isalias(test1) - $isalias(test2) the "test2" alias flagged as $false but it shouldn't because exists.

- Thanks!

Actions

Also available in: Atom PDF