fixed more reader problems
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-18 22:21:11 +09:00
parent b6e6274666
commit 914d1797f3
4 changed files with 33 additions and 14 deletions

View File

@ -125,10 +125,13 @@ abc.? := 20 ##ERROR: syntax error - '?' prohibited as first character of identif
+++ := 20 ##ERROR: syntax error - bad lvalue - invalid element - +++
##---
##1 + + +
##ASSERTION FAILURE: rstl->count == 3 at ../../../lib/read.c:1001
#
#
#HCL> 1 + 2 3 + 4
##ASSERTION FAILURE: rstl->count == 3 at ../../../lib/read.c:1002
---
1 + + + ##ERROR: syntax error - prohibited binary selector '+'
---
1 * 2 3 - 4 ##ERROR: syntax error - prohibited binary selector '-'
---
1 * 2 3 4 ##ERROR: syntax error - redundant operand '4'