scrall 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of scrall might be problematic. Click here for more details.

scrall/__init__.py CHANGED
@@ -1 +1 @@
1
- version = "0.4.0"
1
+ version = "0.4.1"
scrall/parse/visitor.py CHANGED
@@ -1228,8 +1228,8 @@ class ScrallVisitor(PTNodeVisitor):
1228
1228
  result = children[0]
1229
1229
  else:
1230
1230
  # Convert ':' to '==' if found
1231
- eq_map = ['==' if e in ('==',':') else '!=' for e in children.results['EQUAL']]
1232
- result = BOOL_a(eq_map, children.results['comparison'])
1231
+ eq_op = '==' if children.results['EQUAL'][0] == ':' else children.results['EQUAL'][0]
1232
+ result = BOOL_a(eq_op, children.results['comparison'])
1233
1233
 
1234
1234
  if children[0] != result:
1235
1235
  _logger.info(f"{node.rule_name} = comparison (EQUAL comparison)*")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scrall
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Starr's Concise Relational Action Language - For Shlaer-Mellor Executable UML
5
5
  Author-email: Leon Starr <leon_starr@modelint.com>
6
6
  License: MIT License
@@ -1,14 +1,14 @@
1
- scrall/__init__.py,sha256=N2qCuBTuwb70kiFyowj6r89ZdAEoGyc_HokBcFNt5sw,17
1
+ scrall/__init__.py,sha256=YBH_LS09yWuyFrKDRbXpgEEuoS7vcmG9eeqzYezeCGg,17
2
2
  scrall/__main__.py,sha256=5k_6-Z-BPbW2J1AJ98TWDpKu7r9Hcl7dIukqfEp5E38,2140
3
3
  scrall/exceptions.py,sha256=QU4mKLs7_ddGIznhh2HUpjb_PdPlxWZMMY_g0ELenSs,1764
4
4
  scrall/log.conf,sha256=tERYKbCp9TgdAVTby6A7gUpnjurJKcX1tyAzG3ATORI,933
5
5
  scrall/parse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  scrall/parse/parser.py,sha256=k4SeWMtNzAUtwU_e15frvSL1D5G3RBU_jmLegZbIBnY,5221
7
7
  scrall/parse/scrall.peg,sha256=idtGncd1BczoK-1jMY7PjMSdo3q1CY5jXjCiAY2R-44,7602
8
- scrall/parse/visitor.py,sha256=3olStgq9tF-jPW_ulf8GWXSk20nCugaNUB05mXDDSQI,56345
9
- scrall-0.4.0.dist-info/LICENSE,sha256=kL0xVrwl2i3Pk9mQXAVAPANCTaLGGOsoXgvqW7TBs20,1072
10
- scrall-0.4.0.dist-info/METADATA,sha256=kTl3iR_idtL0rmkLf9hYnSz9Ft5mDj3qZjQtsz5M2dk,7191
11
- scrall-0.4.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
12
- scrall-0.4.0.dist-info/entry_points.txt,sha256=2fHG6VXtqSTEZXadsBe7XCFaLm4t3V1pFuqzgWWjBgA,48
13
- scrall-0.4.0.dist-info/top_level.txt,sha256=SWvpMyNNJlrMWpSsK5RUL40ivQxQpKPbL86VrvNIUAE,7
14
- scrall-0.4.0.dist-info/RECORD,,
8
+ scrall/parse/visitor.py,sha256=tF74kzww7vRqzejMENJ8dAkiZTfxJm0Zgldik1V_WCs,56350
9
+ scrall-0.4.1.dist-info/LICENSE,sha256=kL0xVrwl2i3Pk9mQXAVAPANCTaLGGOsoXgvqW7TBs20,1072
10
+ scrall-0.4.1.dist-info/METADATA,sha256=d_WWGitQ_nIjQ7usB3y-3dWUrBBcWMuDWBXjBihvAp4,7191
11
+ scrall-0.4.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
12
+ scrall-0.4.1.dist-info/entry_points.txt,sha256=2fHG6VXtqSTEZXadsBe7XCFaLm4t3V1pFuqzgWWjBgA,48
13
+ scrall-0.4.1.dist-info/top_level.txt,sha256=SWvpMyNNJlrMWpSsK5RUL40ivQxQpKPbL86VrvNIUAE,7
14
+ scrall-0.4.1.dist-info/RECORD,,
File without changes