iarsystems / iar-vsc-build

Visual Studio Code extension for developing and building IAR projects
https://marketplace.visualstudio.com/items?itemName=iarsystems.iar-build
Mozilla Public License 2.0
38 stars 5 forks source link

Intellisense generates error for @ address assignments #77

Closed larlin closed 7 months ago

larlin commented 7 months ago

Describe the bug: If using @ to specify a address for a variable Intellisense complains about unrecognized token.

To Reproduce: Have a .h file in a c project with a variable with a specified address location. image

Expected behavior: Intellisense should not report a error for valid iar compiler code.

Actual behavior: Intellisense reports an error.

Environment:

larlin commented 7 months ago

Found in the documentation now that this is described that @ should not be used. This is documented here: https://github.com/IARSystems/iar-vsc-build/blob/master/docs/README.md