Missing TOP_SEMI at 'export' error

viamarkable
viamarkable Member Posts: 10 EDU
How should I resolve this? Here's the code:

FeatureScript 2411;
import(path : "onshape/std/common.fs", version : "2411.0");

const OCTAGON_LENGTH_REC =
{
    (inch) : [1, 5, 10]
}

export enum Excess
{
    annotation { "Name" : "Left and Back" }
    LEFT_AND_BACK,
    annotation { "Name" : "Right and Back" }
    RIGHT_AND_BACK,
    annotation { "Name" : "Left and Front" }
    LEFT_AND_FRONT,
    annotation { "Name" : "Right and Back" }
    RIGHT_AND_FRONT
}
annotation { "Feature Type Name" : "Configurable Hex Base" }

export const hexBase = defineFeature(function(context is Context, id is Id, definition is map)
    precondition
    {   

Comments