Mailinglist Archive: yast-commit (306 mails)

< Previous Next >
[yast-commit] [yast/yast-core] 343c81: Do not lose comments before negative numbers in YC...
Branch: refs/heads/master
Home: https://github.com/yast/yast-core
Commit: 343c8193b1c534eaac417b890bb8de773fd5d5e3

https://github.com/yast/yast-core/commit/343c8193b1c534eaac417b890bb8de773fd5d5e3
Author: David Majda <dmajda@xxxxxxx>
Date: 2013-08-07 (Wed, 07 Aug 2013)

Changed paths:
M libycp/src/parser.yy

Log Message:
-----------
Do not lose comments before negative numbers in YCP parser

When YCP parser encounters unary minus followed by an integer or float,
it performs the negation in parse time already, optimizing the AST and
resulting bytecode a bit.

Before this commit, the optimizing code didn't transfer comments
encountered before the "-" sign to the created AST node (YConst
instance). This was a bug, which affected YCP to Ruby translation done
by YCP Killer. This commit fixes this bug by adding two "RULE_COMMENT"
macro invocations at appropriate places.

Fixes https://github.com/yast/ycp-killer/issues/617.


Commit: 447abfc609dccb17289f2e59e577ecd080c26bac

https://github.com/yast/yast-core/commit/447abfc609dccb17289f2e59e577ecd080c26bac
Author: David Majda <dmajda@xxxxxxx>
Date: 2013-08-07 (Wed, 07 Aug 2013)

Changed paths:
M VERSION
M package/yast2-core.changes

Log Message:
-----------
Release 3.0.1


Commit: 0dda969d3ef29296226e7bc41e2bb3234661bc32

https://github.com/yast/yast-core/commit/0dda969d3ef29296226e7bc41e2bb3234661bc32
Author: Ladislav Slezák <lslezak@xxxxxxx>
Date: 2013-08-07 (Wed, 07 Aug 2013)

Changed paths:
M VERSION
M libycp/src/parser.yy
M package/yast2-core.changes

Log Message:
-----------
Merge pull request #41 from dmajda/fix-negative-number-comments

Do not lose comments before negative numbers in YCP parser


Compare: https://github.com/yast/yast-core/compare/bdc1f205ee83...0dda969d3ef2
< Previous Next >
This Thread
  • No further messages