diff options
-rw-r--r-- | rs.spec | 4 | ||||
-rw-r--r-- | spec.l | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -159,7 +159,7 @@ AllocationGetPointer { param uint32_t z param uint32_t array param size_t *stride - ret void *s + ret void * } Allocation1DData { @@ -367,7 +367,7 @@ ScriptSetTimeZone { ScriptInvokeIDCreate { param RsScript s param uint32_t slot - ret RsScriptInvokeID; + ret RsScriptInvokeID } ScriptInvoke { @@ -187,6 +187,11 @@ ID [a-zA-Z_][a-zA-Z0-9_]* BEGIN(INITIAL); } +<*>. { + fprintf(stderr, "error: unexpected character \'%c\' at line %d\n", + *yytext, num_lines + 1); + exit(1); + } %% |