Skip to content
PARSE PROBLEM - Reserved Keyword

Error Code: PARSE ERROR - Reserved Keyword

This guide explains why a reserved keyword error may occur and describes how to fix it.

Consider the following example that defines a relation called module:

def module = {("house"); ("garden")}
Error example from the RAI Console

This definiton returns a PARSE PROBLEM due to the use of a reserved keyword (module) as a relation name. You can’t name relations using Rel reserved keywords.

Note that the RAI Console helps you detect this by displaying all reserved keywords in a single color.

You need to use a different naming to solve the problem. For instance:

def place = {("house"); ("garden")}
Was this doc helpful?