Menu

[FIXED] Bug in GCStudio

jackjames
2023-08-13
2023-09-06
  • jackjames

    jackjames - 2023-08-13

    If this sequence of characters is inserted anywhere in a .GCB file:
    "//*
    it no longer finds the symbols.
    Message: No symbols found in document xxxxxx.gcb

     
  • Anobium

    Anobium - 2023-08-13

    Thanks.

    Help me reproduce.

    "//* 
    

    Issues "Missing closing double quote in Table source" - which is odd but not the error you are getting.

     
  • Anobium

    Anobium - 2023-08-13

    Another test, but, this works as expected - as this is a comment.

    //*
    

    I will need an example source program to reproduce.

    Also, I am using Program compiled by GCBASIC (1.01.00 2023-08-06 (Windows 64 bit) : Build 1260) for Microchip MPASM/MPLAB-X Assembler using FreeBASIC 1.07.1/2023-08-08 CRC29 - are you on the latest GCSTUDIO build?

     
    • jackjames

      jackjames - 2023-08-13

      The error is from the editor and not the compiler.
      (Sorry, I made a mistake in posting the question on the forum).
      It shows up in the explorer window and doesn't show me the structure of the listing, so no variables, routines or #defines.
      For example this line:
      "// For serial reading"
      positioned in any point of the listing it prevents the vision.
      The sequence " //
      " makes the comment brighter in the program listing.
      (The character * after // is not seen...)

       

      Last edit: jackjames 2023-08-13
  • Anobium

    Anobium - 2023-08-13

    Post or send me the GCB source. Thanks.

     
  • Anobium

    Anobium - 2023-08-13

    Post or send me the GCB source. Thanks.

     
    • jackjames

      jackjames - 2023-08-13

      This piece of code is enough to see the problem.
      The program structure is not visible in the GCStudio editor.
      If instead they delete the line (just delete the * symbol) the structure will be visible.
      (line 414)

       

      Last edit: jackjames 2023-08-13
  • Anobium

    Anobium - 2023-08-14

    Thank you for reporting and the same code.

    @angel-spartan - this is an issue in GCCODE. This is probably within GCBlanguage-configuration.json

     
  • Angel Mier

    Angel Mier - 2023-08-31

    Fix ready on the Dev Preview Channel, please test. It works on my end.

    The symbol provider now checks if a rem block start (//*) are inside of a string.

    NOTE: if you add a string like this: "// a text for serial console" symbols will be present; but if you simply add // outside of a string it will be treated as a rem block start and you MUST close it.

    Angel

     
    • jackjames

      jackjames - 2023-09-03

      The test is OK.
      It's Ok for me.

       
      • Anobium

        Anobium - 2023-09-03

        Great news.

        Great job Angel!!!!

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.