mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-04 16:52:50 -06:00
the parser for abstract expressions in the C runtime now supports partial parses
This commit is contained in:
@@ -46,7 +46,7 @@ namespace PGFSharp
|
||||
using (var strNative = new Native.NativeString(exprStr))
|
||||
{
|
||||
var in_ = NativeGU.gu_data_in(strNative.Ptr, strNative.Size, tmp_pool.Ptr);
|
||||
var expr = Native.pgf_read_expr(in_, result_pool.Ptr, exn.Ptr);
|
||||
var expr = Native.pgf_read_expr(in_, result_pool.Ptr, tmp_pool.Ptr, exn.Ptr);
|
||||
if (exn.IsRaised || expr == IntPtr.Zero)
|
||||
{
|
||||
throw new PGFError();
|
||||
|
||||
Reference in New Issue
Block a user