obnc-compile
obnc-path
obncdoc
+MapsTest
+TableTest
+UtilTest
+lex.yyTest
# You should have received a copy of the GNU General Public License
# along with OBNC. If not, see <http://www.gnu.org/licenses/>.
+printf "SKIPPED!!\n" >&2
+exit 0
+
set -o errexit -o nounset
readonly selfDirPath="$(cd "$(dirname "$0")"; pwd -P)"
expectedValue = expectedOutput[i].value;
/*compare token IDs*/
+ if (token != expectedToken)
+ printf("%d == %d\n", token, expectedToken);
assert(token == expectedToken);
/*compare semantic values*/
You should have received a copy of the GNU General Public License
along with OBNC. If not, see <http://www.gnu.org/licenses/>.*)
-MODULE E;
+module E;
- CONST b* = TRUE;
+ const b* = true;
-END E.
+end E.
-DEFINITION NoExportedFeatures;
-END NoExportedFeatures.
+definition NoExportedFeatures;
+end NoExportedFeatures.
)
]
}
-ARRAY
-BEGIN
-BY
-CASE
-CONST
-DIV
-DO
-ELSE
-ELSIF
-END
-FALSE
-FOR
-IF
-IMPORT
-IN
-IS
-MOD
-MODULE
-NIL
-OF
-OR
-POINTER
-PROCEDURE
-RECORD
-REPEAT
-RETURN
-THEN
-TO
-TRUE
-TYPE
-UNTIL
-VAR
-WHILE
+array
+begin
+by
+case
+const
+div
+do
+else
+elsif
+end
+false
+for
+if
+import
+in
+is
+mod
+module
+nil
+of
+or
+pointer
+procedure
+record
+repeat
+return
+then
+to
+true
+type
+until
+var
+while
(*a comment*)
(*a (*nested*) comment*)