ERROR

Parser error: syntax error

Last Published: April 25, 2020

Error Message

Attempting to access an item in EditTools produces this error:

"Parser error: syntax error
Program variable parse syntax error

An error has occurred in routine: edit (EDIT_FAT.AML)."

A similar error occurs when accessing the same item with DEFINE in INFO or Tables, ALTER in Tables, or with a cursor in any of the ArcInfo modules.

Cause

The item is improperly named. It may contain one of the following character strings:
._
_.
#_
_#

For example, an item named SUPPLIER._LOC will return the above error in EditTools.

Solution or Workaround



Use the ALTER command in Tables to change item names to exclude the problem characters. For example, ALTER the item name SUPPLIER._LOC to SUPPLIERLOC.

Article ID:000002497

Software:
  • ArcMap 8 x
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic