forked from bmstu-iu9/refal-5-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIXED: уточнение проверки псевдофункций gen…__ (bmstu-iu9#331)
На ошибку указало ложное срабатывание диагностики -Wrepeated-maybe (bmstu-iu9#290). Хоть срабатывание по сути было ложным: равенство повторной переменной требует сама логика алгоритма, но оно показало на реальную ошибку: вместо проверки результатного выражения дважды проверялся образец.
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* WARNING pseudofunctions | ||
|
||
$ENTRY Go { = <gen_e__> } | ||
|
||
gen_e__ { | ||
e.Arg = e.Arg e.Arg; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters