• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. *WARNING* (Parser): character found after backslash is not...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 142
  • Views 1534
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

*WARNING* (Parser): character found after backslash is not meaningful - '\$'

ebecheto
ebecheto over 3 years ago

Dear AB, (i mean All Buddies, not necessary Andrew B. :-)

I try to play a bit with auto-creation of a user library :

path=if(getShellEnvVar("PRJ_DIR") "\${PRJ_DIR}/cds/design" "./")
lib=dbCreateLib(userLib path) techSetTechLibName(lib getShellEnvVar("ATTACH_LIB")||"SG13_dev") ddUpdateLibList() 

Although, the two lines are evaluate and results in the correct creation of the library and its input in cds.lib as :  DEFINE 65n_ebecheto ${PRJ_DIR}/cds/design

The CIW windows blame me of an error :

path=if(getShellEnvVar("PRJ_DIR") "\${PRJ_DIR}/cds/design" "./")
                                   ^^
PARSER WARNING at line 25 column 36 of file *ciwInPort*
*WARNING* (Parser): character found after backslash is not meaningful - '\$'

I tried to mute the error with er=errset("\${PRJ_DIR}/cds/design" nil)  for instance, but is still throw the error.

Any one already faced this behaviour ?

Regards,

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    I'm not sure why you are trying to escape the $, but "\$" doesn't mean anything in SKILL, hence the error. You either need to use "${PRJ_DIR}..." or "\\${PRJ_DIR}..." if you need an escape character there for some reason. Having checked it, I don't think you want the backslash at all...

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • ebecheto
    ebecheto over 3 years ago in reply to Andrew Beckett

    indeed, i did not need the backslash at all in the case. I had  twisted my  mind for unnecessary reasons. Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information