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

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

Projects

None yet

2 participants

@walf443

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
The Xslate project member

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 May 21, 2012
@jperkin jperkin pushed a commit to joyent/pkgsrc that referenced this issue Dec 9, 2013
wen Update to 1.5025
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
2799a77
@jsonn jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Mar 12, 2014
wen Update to 1.5025
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
64ecbcd
@jsonn jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Oct 11, 2014
wen Update to 1.5025
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
e6361d0
@oalders oalders pushed a commit to oalders/p5-Text-Xslate that referenced this issue Oct 22, 2014
Fuji, Goro Checking in changes prior to tagging of version 1.5011.
Changelog diff is:

diff --git a/Changes b/Changes
index fd74436..c7a798c 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,11 @@
 Revision history for Perl extension Text::Xslate

+1.5011 2012-05-21 15:45:00
+    [BUG FIXES]
+    - add warning about 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)
88131ce
@oalders oalders pushed a commit to oalders/p5-Text-Xslate that referenced this issue Oct 22, 2014
Fuji, Goro Checking in changes prior to tagging of version 1.5012.
Changelog diff is:

diff --git a/Changes b/Changes
index c7a798c..c115179 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Perl extension Text::Xslate

+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#55
28e0c10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment