mirror of
https://github.com/IRBorisov/ConceptCore.git
synced 2025-06-26 01:00:36 +03:00
Improve diagnostic output for parser generation
This commit is contained in:
parent
894c04de27
commit
97d94a8158
|
@ -11,7 +11,7 @@ function BuildParser {
|
||||||
}
|
}
|
||||||
Set-Location -Path ${workDir}
|
Set-Location -Path ${workDir}
|
||||||
Write-Host "Building ${grammar}"
|
Write-Host "Building ${grammar}"
|
||||||
& $bison $grammar
|
& $bison $grammar -Wcounterexamples
|
||||||
if ($LASTEXITCODE -ne 0) {
|
if ($LASTEXITCODE -ne 0) {
|
||||||
Write-Error 'Grammar generation failed'
|
Write-Error 'Grammar generation failed'
|
||||||
Exit 1
|
Exit 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user