mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 06:47:17 +00:00
Estimated hours taken: 0.5
library/parser.m:
Fix a bug: according to the ISO Prolog standard, it should allow
terms of the form `{}(foo)' or `[](foo)'.
tests/valid/Mmakefile:
tests/valid/parsing_bug.m:
tests/valid/parsing_bug_main.m:
Regression test.
6 lines
143 B
Mathematica
6 lines
143 B
Mathematica
:- module parsing_bug_main.
|
|
:- interface.
|
|
:- import_module parsing_bug.
|
|
|
|
:- type blah == int. % just to avoid warning about exporting nothing.
|