title: ASN.1 compiler error token "SYNTAX" unexpected
body: <p>I'm currently trying to compile a snippet of ASN.1 code. It looks as follows:</p>
  
  <pre><code>RFC1213-MIB DEFINITIONS ::= BEGIN
      IMPORTS 
          experimental FROM RFC1155-SMI
          OBJECT-TYPE FROM RFC-1212;
  
      mypersonaltest OBJECT IDENTIFIER ::= { experimental 1 }
  
      tester      OBJECT-TYPE 
          SYNTAX      INTEGER
          ACCESS      read-write
          STATUS      optional
          DESCRIPTION "This is a test"
          ::= { mypersonaltest 1 }
  
  END
  </code></pre>
  
  <p>Now I'm always getting an error on the line <code>SYNTAX INTEGER</code>:</p>
  
  <pre><code>ASN.1 grammar parse error near line 9 (token "SYNTAX"): syntax error, unexpected TOK_SYNTAX, expecting TOK_PPEQ
  </code></pre>
  
  <p>Actually, this should work according my example I got here. What am I doing wrong?</p>