Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TTerse ] Can't write statement after IF statement while inline mode. #55

Closed
walf443 opened this issue Jan 10, 2012 · 1 comment
Closed

Comments

@walf443
Copy link

walf443 commented Jan 10, 2012

this script occured errors following:
https://gist.github.com/1587228

simple_if at fuga.pl line 13.

declare_if at fuga.pl line 13, <DATA> line 43.






problem_case at fuga.pl line 13, <DATA> line 86.
Text::Xslate::Syntax::TTerse: Expected 'END', but got 'SET', while parsing templates (<string>:5) at fuga.pl line 14
----------------------------------------------------------------------------
%%    ELSE
%%    END
%%    SET hoge = fuga;
----------------------------------------------------------------------------
@gfx
Copy link
Member

gfx commented May 21, 2012

The TTerse parser recognizes "ELSEIF" as "ELSE IF", but it is likely to a bug.

1.5011 warns this case. Please insert semicolon between ELSE and IF.

@gfx gfx closed this as completed May 21, 2012
jperkin pushed a commit to TritonDataCenter/pkgsrc-legacy that referenced this issue Dec 9, 2013
Update DEPENDS

Upstream changes:
1.5025 2012-10-20 21:45:27
    [BUG FIXES]
    - Fix a bug that constants with unary operators might result in
      wrong values (thanks to @doy)

1.5024 2012-10-15 18:02:29
    [BUG FIXES]
    - Fix false assertion failure
      (This change affects only to -DDEBUGGING enabled perl)

1.5023 2012-10-15 08:22:14
    [TEST]
    - Apply issue #66 again
    - 1.5022 was identical to 1.5021 (thanks to @doy)

1.5022 2012-10-15 00:15:18
    [TEST]
    - Do not depend on extra modules in tests (issue #66, @nihen).

1.5021 2012-10-15 00:07:54
    [BUG FIXES]
    - Fix an issue that recursive call of render() may cause SEGV
      thanks to doy for reporting this issue (isseu #65).

1.5020 2012-10-14 23:06:49
    [BUG FIXES]
    - Fix deploying issues reported at 1.5017, again.
      thanks to @woremacx for reporting it.
    - Fix a bug that calling macro which encloses outer variables,
      may clobber other variables, thanks to @ktat for reporting it.

1.5019 2012-10-03 12:28:20
    [BUG FIXES]
    - Revert 1.5016's bugfix which introduced a more serious problem.
      The complete bufix will be applied to 1.5020.

1.5018 2012-09-30 13:41:13
    [FEATURES]
    - "html_builder_module" option to import HTML builders;
      functions imported with this option are wrapped by html_builder()

1.5017 2012-08-04 19:31:59
    [BUG FIXES]
    - Fix a problem on Win32

1.5016 2012-08-04 19:19:15
    [BUG FIXES]
    - Fix a bug that reloading templates could fail on deploying
    - Fix a problem on 5.17

1.5015 2012-07-13 19:31:53
    [IMPROVEMENT]
    - Enhance extensibility for custom parsers (shmorimo)

1.5014 2012-06-26 19:41:20
    [IMPROVEMENT]
    - Add scalar::split() to Bridge::Star (tokuhirom)

1.5013 2012-06-12 23:46:44
    [IMPROVEMENT]
    - Add "macro" option to Text::Xslate->new() (gunyoki)

1.5012 2012-05-21 15:52:59
    [IMPROVEMENT]
    - imporve error messages when the parser reaches EOF

1.5011 2012-05-21 15:45:00
    [BUG FIXES]
    - add warning about xslate/p5-Text-Xslate#55
      For backword compatibility, we don't change its behavior, but
      it is likely to a problem so we warnn about it.

1.5010 2012-05-04 01:04:47
    [TEST FIXES]
    - Make `HANRESS_OPTIONS=j9 make test` work (@punytan)

1.5009 2012-03-30 09:19:18
    [IMPROVEMENT]
    - Documentation improvement

1.5008 2012-03-28 09:39:45
    [BUG FIXES]
    - Fix a typo in an error messages (issues/53, thanks to wchristian)
    - Fix an undefined behavior that giving utf8-encoded *bytes* as
      params made mojibake in use of caches
jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Mar 12, 2014
Update DEPENDS

Upstream changes:
1.5025 2012-10-20 21:45:27
    [BUG FIXES]
    - Fix a bug that constants with unary operators might result in
      wrong values (thanks to @doy)

1.5024 2012-10-15 18:02:29
    [BUG FIXES]
    - Fix false assertion failure
      (This change affects only to -DDEBUGGING enabled perl)

1.5023 2012-10-15 08:22:14
    [TEST]
    - Apply issue #66 again
    - 1.5022 was identical to 1.5021 (thanks to @doy)

1.5022 2012-10-15 00:15:18
    [TEST]
    - Do not depend on extra modules in tests (issue #66, @nihen).

1.5021 2012-10-15 00:07:54
    [BUG FIXES]
    - Fix an issue that recursive call of render() may cause SEGV
      thanks to doy for reporting this issue (isseu #65).

1.5020 2012-10-14 23:06:49
    [BUG FIXES]
    - Fix deploying issues reported at 1.5017, again.
      thanks to @woremacx for reporting it.
    - Fix a bug that calling macro which encloses outer variables,
      may clobber other variables, thanks to @ktat for reporting it.

1.5019 2012-10-03 12:28:20
    [BUG FIXES]
    - Revert 1.5016's bugfix which introduced a more serious problem.
      The complete bufix will be applied to 1.5020.

1.5018 2012-09-30 13:41:13
    [FEATURES]
    - "html_builder_module" option to import HTML builders;
      functions imported with this option are wrapped by html_builder()

1.5017 2012-08-04 19:31:59
    [BUG FIXES]
    - Fix a problem on Win32

1.5016 2012-08-04 19:19:15
    [BUG FIXES]
    - Fix a bug that reloading templates could fail on deploying
    - Fix a problem on 5.17

1.5015 2012-07-13 19:31:53
    [IMPROVEMENT]
    - Enhance extensibility for custom parsers (shmorimo)

1.5014 2012-06-26 19:41:20
    [IMPROVEMENT]
    - Add scalar::split() to Bridge::Star (tokuhirom)

1.5013 2012-06-12 23:46:44
    [IMPROVEMENT]
    - Add "macro" option to Text::Xslate->new() (gunyoki)

1.5012 2012-05-21 15:52:59
    [IMPROVEMENT]
    - imporve error messages when the parser reaches EOF

1.5011 2012-05-21 15:45:00
    [BUG FIXES]
    - add warning about xslate/p5-Text-Xslate#55
      For backword compatibility, we don't change its behavior, but
      it is likely to a problem so we warnn about it.

1.5010 2012-05-04 01:04:47
    [TEST FIXES]
    - Make `HANRESS_OPTIONS=j9 make test` work (@punytan)

1.5009 2012-03-30 09:19:18
    [IMPROVEMENT]
    - Documentation improvement

1.5008 2012-03-28 09:39:45
    [BUG FIXES]
    - Fix a typo in an error messages (issues/53, thanks to wchristian)
    - Fix an undefined behavior that giving utf8-encoded *bytes* as
      params made mojibake in use of caches
jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Oct 11, 2014
Update DEPENDS

Upstream changes:
1.5025 2012-10-20 21:45:27
    [BUG FIXES]
    - Fix a bug that constants with unary operators might result in
      wrong values (thanks to @doy)

1.5024 2012-10-15 18:02:29
    [BUG FIXES]
    - Fix false assertion failure
      (This change affects only to -DDEBUGGING enabled perl)

1.5023 2012-10-15 08:22:14
    [TEST]
    - Apply issue #66 again
    - 1.5022 was identical to 1.5021 (thanks to @doy)

1.5022 2012-10-15 00:15:18
    [TEST]
    - Do not depend on extra modules in tests (issue #66, @nihen).

1.5021 2012-10-15 00:07:54
    [BUG FIXES]
    - Fix an issue that recursive call of render() may cause SEGV
      thanks to doy for reporting this issue (isseu #65).

1.5020 2012-10-14 23:06:49
    [BUG FIXES]
    - Fix deploying issues reported at 1.5017, again.
      thanks to @woremacx for reporting it.
    - Fix a bug that calling macro which encloses outer variables,
      may clobber other variables, thanks to @ktat for reporting it.

1.5019 2012-10-03 12:28:20
    [BUG FIXES]
    - Revert 1.5016's bugfix which introduced a more serious problem.
      The complete bufix will be applied to 1.5020.

1.5018 2012-09-30 13:41:13
    [FEATURES]
    - "html_builder_module" option to import HTML builders;
      functions imported with this option are wrapped by html_builder()

1.5017 2012-08-04 19:31:59
    [BUG FIXES]
    - Fix a problem on Win32

1.5016 2012-08-04 19:19:15
    [BUG FIXES]
    - Fix a bug that reloading templates could fail on deploying
    - Fix a problem on 5.17

1.5015 2012-07-13 19:31:53
    [IMPROVEMENT]
    - Enhance extensibility for custom parsers (shmorimo)

1.5014 2012-06-26 19:41:20
    [IMPROVEMENT]
    - Add scalar::split() to Bridge::Star (tokuhirom)

1.5013 2012-06-12 23:46:44
    [IMPROVEMENT]
    - Add "macro" option to Text::Xslate->new() (gunyoki)

1.5012 2012-05-21 15:52:59
    [IMPROVEMENT]
    - imporve error messages when the parser reaches EOF

1.5011 2012-05-21 15:45:00
    [BUG FIXES]
    - add warning about xslate/p5-Text-Xslate#55
      For backword compatibility, we don't change its behavior, but
      it is likely to a problem so we warnn about it.

1.5010 2012-05-04 01:04:47
    [TEST FIXES]
    - Make `HANRESS_OPTIONS=j9 make test` work (@punytan)

1.5009 2012-03-30 09:19:18
    [IMPROVEMENT]
    - Documentation improvement

1.5008 2012-03-28 09:39:45
    [BUG FIXES]
    - Fix a typo in an error messages (issues/53, thanks to wchristian)
    - Fix an undefined behavior that giving utf8-encoded *bytes* as
      params made mojibake in use of caches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants