gnudatalanguage / gdl

GDL - GNU Data Language
GNU General Public License v2.0
274 stars 61 forks source link

missing special case $MAIN$ in ROUTINE_INFO() #1727

Closed alaingdl closed 7 months ago

alaingdl commented 8 months ago

(as used in MGFIT

IDL> help, routine_info('$MAIN$',/sou)
** Structure <2371e98>, 2 tags, length=32, data length=32, refs=1:
   NAME            STRING    '$MAIN$'
   PATH            STRING    ''

[...]

GDL> help, routine_info('$MAIN$',/sou)
% ROUTINE_INFO: % Attempt to call undefined/not compiled procedure: '$MAIN$'
% Execution halted at: $MAIN$          

Because it is a very special case, I suspect we just need to managed it "by it-self" but I may miss a trick. (I can do it but I would prefer to have few feedback)

alaingdl commented 7 months ago

Done & test. Will be push ASAP, waiting to finish other small debugs corrections

alaingdl commented 7 months ago

This is now in the code