AppliedLogicSystems / ALSProlog

ALS Prolog Compiler & Development Environment
https://alsprolog.com
MIT License
16 stars 9 forks source link

Variable in export statement should raise Syntax Error #208

Open kenbowen opened 1 year ago

kenbowen commented 1 year ago

In a file being consulted, the statement

export _A/2.

should trigger a syntax error , like

export _A/2. ^Syntax error 'test.pro', line 2: Illegal token after primary expression

It currently fails to do so, instead producing an Internal error.